CraftQL

Getting Started with CraftQL

The CraftQL modules allow you to execute mutation query, simple query and GraphQL query against Craft CMS.

Prerequisites

In order to use CraftQL with Integromat, it is necessary to have a CraftQL plugin installed in your CraftCMS.

The module dialog fields that are displayed in bold (in the Integromat scenario, not in this documentation article) are mandatory!

Connecting CraftQL to Integromat

To connect your CraftQL plugin to Integromat create your token in the CraftQL settings and insert the token into the Integromat CraftQL module's Create a connection dialog.

Usage

Execute any GraphQL query against CraftQL.

Useful for getting out content.

Example Query

query getOrders {
   entries(type: [Order], orderStatus: confirmed) {
    id,
    ... on Order {
     delivery_address {
      name
      line1
      line2
      city
      zip
     },
     dateCreated
     status
     products {
      ... on products_line {
       qty: pl_qty,      
       price: pl_price,
       product: pl_product_rel {
        ... on Product {
	       id
         title
         sku
        }
       }
      }
     }
     total
     totalQty
    }
   }
  }
 

Mutate

Executes a mutation query.

Insert parameters using the JSONCreate JSON module.

Popular use cases from our blog

automated-data-collection-crm-illustration

How to Automate Data Collection - Part 5: CRM Systems

automated-data-collection-chatbot-marketing-illustration

How to Automate Data Collection - Part 4: Chatbot Marketing

automated-data-collection-paid-ads-illustration

How to Automate Data Collection - Part 3: Paid Ads

automated-data-collection-email-illustration

How to Automate Data Collection - Part 2: Email Marketing Segmentation

personalized-customer-experience-illustration-integromat

5 Automated Solutions to Personalize Customer Experience

data-collection-automation-forms-pt-1

How to Automate Data Collection - Part 1: Online Forms

Didn’t find what you were looking for?

Expert

Find an expert

We feature a network of 450+ certified partners across the globe who are ready to help

Find an expert

Automate any workflow in your business

Sign up for a free account today. No credit card required, no time limits on free plan.