Exploring Shopify GraphQL Updates: What You Need to Know

If you’re automating Shopify, it’s important to keep up with the latest updates to make the most of your workflows. We’re here to talk about some recent changes to our Shopify integration, specifically with GraphQL, a modern query language that simplifies how you handle data.

The latest Shopify GraphQL triggers

shopify updates

Our recent enhancements to Shopify triggers mark a significant leap forward, thanks to the integration of GraphQL webhooks. These updates offer a new level of control and efficiency. Here are the key updates:

TriggersDescription
Customers MergedCombines duplicate customer profiles into one for a cleaner database.
Customer Tags AddedAlerts when new tags are added to customer profiles for better segmentation.
Customer Tags RemovedNotifies when tags are removed from customer profiles to keep segmentation current.
Fulfillment CancelledInforms when an order is cancelled, aiding in inventory and expectation management.
Fulfillment Cancellation Request AcceptedIndicates when a fulfillment request is accepted, keeping order processing on track.
Fulfillment Cancellation Request RejectedAlerts about the rejection of a fulfillment request, prompting action or adjustment.
Fulfillment Cancellation Request SubmittedNotifies when a fulfillment request is made, initiating the fulfillment process.
Fulfillment Service Failed to CompleteAlerts to issues or failures in the fulfillment service for quick resolution.
Fulfillment Hold ReleasedIndicates when a hold on an order is released, advancing the order process.
Fulfillment’s Line Items Prepared for Local DeliveryShows when items are ready for local delivery, aiding in logistics.
Fulfillment’s Line Items Prepared for PickupAlerts when items are prepared for customer pickup.
Fulfillments MergedInforms of merged orders for tracking and inventory management.
Fulfillment MovedNotifies when an order is moved, aiding in order tracking.
Fulfillment Order Routing CompletedIndicates the completion of order routing, signifying readiness for the next phase.
Fulfillment Placed on HoldAlerts when an order is placed on hold, important for managing delays and communication.
Fulfillment SplitNotifies when an order is split, essential for accurate order tracking.
Get List of CatalogsObtain a list of catalogs.
Get List of Price ListsObtain a list of price lists.
Get List of Sales ChannelsObtain a list of sales channels.
Publish Product or CollectionPublish a product or collection to a specific sales channel.
Retrieve CatalogGrab all details about a catalog.
Retrieve Inventory LevelsGrab all details about inventory levels (includes details about item ID, location, quantities, incoming, on hand, damaged, and available).
Retrieve MetafieldGrab all details about any metafield, including Companies
Retrieve Price ListGrab all details about a price list.
Retrieve Sales ChannelGrab all details about a sales channel.
Return ApprovedInforms when a return is approved, streamlining the returns process.
Return CancelledIndicates the cancellation of a return request, aiding in inventory and customer management.
Return ClosedAlerts when a return process is concluded, marking the end of the return cycle.
Return DeclinedNotifies when a return request is declined, essential for customer service follow-up.
Return ReopenedInforms if a previously closed return is reopened, requiring attention.
Return RequestedAlerts to new return requests, initiating the returns handling process.
Unpublish Product or CollectionUnpublish a product or collection from a specific sales channel.
Shopify GraphQL triggers now available for more efficient workflows

Additionally, we added two new optional fields available across Shopify triggers that leverage GraphQL and make your workflows easier to setup and manage.

Include Fields

This option allows you to specify which fields should trigger an action in your workflow. By using ‘include fields’, you can filter and trigger actions based on specific data fields.

Suppose you only want to trigger a workflow when changes are made to certain fields like ‘price’ or ‘inventory’. By setting ‘include fields’ to these specific areas, your workflow will only activate when changes occur in these fields, ignoring irrelevant data changes. This targeted approach makes your automation more efficient and relevant, reducing unnecessary processing and focusing on key data points.

For example, if you’re monitoring stock levels, you can use ‘include fields’ to trigger an alert only when the ‘inventory’ field changes. This way, you’ll stay informed about critical inventory updates without being overwhelmed by irrelevant data changes.

Metafields Namespace

Metafield Namespaces allow you to add specific metafields to your workflow’s payload. By listing the desired namespaces, separated by commas, you can tailor the data your workflow receives.

Metafields in Shopify store specialized information that isn’t captured by standard fields. By including specific metafield namespaces in your triggers, you can access and utilize this customized data in your workflows. This capability is particularly useful for workflows that depend on unique information in conjunction with other relevant data.

For example, imagine you’re using a metafield to track the ‘expected delivery date’ for orders – a crucial piece of information for customer service. This metafield might be stored under the namespace ‘order_info.expected_delivery’. By including this namespace in your trigger, your workflow can be configured to activate when there’s an update in the expected delivery date. For instance, you could set up an automated email to customers, updating them about the new delivery date. Or, internally, this update could trigger a notification to your logistics team to prioritize or reorganize delivery schedules.

The impact of GraphQL in your Shopify workflow

These updates are essential for those who want to streamline their Shopify operations. Here’s why they matter:

Direct Data Access: With GraphQL, you can more closely monitor and react to changes in your Shopify store in real-time. You’ll benefit from enhanced control over customer interactions and order management, leading to a more streamlined and responsive experience.

More Efficient Automations: Set your workflows to react only to specific changes that matter most to your business. It simplifies your automation, ensuring that you spend less time dealing with bulky data and more time on what truly impacts your store’s performance.

Customized Data Integration: Now, you can include specific metafields in your workflow trigger, neatly packaged into a single dataset. This customization means your automated processes are not just efficient but also perfectly aligned with your unique business needs and customer requirements.

These GraphQL updates in Shopify are all about making your life easier. They ensure that your workflows are not just automated, but smartly automated.

👋 We’re Here to Help

Feel free to reach out for support if you need help if you run into a problem or feel unsure. MESA’s US-based support team is here to assist you with any challenges. Contact us any time at [email protected].

So, what's next?

  1. Add MESA from the Shopify App Store. Enjoy a 7-day free trial to start.
  2. Ask the experts if you need help personalizing any workflow, or ask us to build one for you. We're happy to help!
  3. Discover pre-made, customizeable automation templates.
We literally wrote the book on Shopify automation

Learn how to make Shopify work easier with your business processes.

Get the playbook - Free!

shopify automation playbook PDF