Send query results to Shopify (GraphQL)¶
Shopify is an e-commerce platform for online stores and retail point-of-sale systems that consolidates shopping, payments, marketing, shipping, and customer engagement tools into a single unified experience.
Note
This destination uses the Shopify GraphQL Admin API .
The steps that are required to send audiences to Shopify (GraphQL) from Amperity.
Beta
The Shopify (GraphQL) connector is currently in beta. Contact your Amperity representative to learn more.
Caution
This destination is available for sending query results to Shopify (GraphQL) after it is configured by a Datagrid Operator or your Amperity representative.
If this destination cannot be selected for orchestrations ask your Datagrid Operator or Amperity representative to configure a destination for sending query results to Shopify (GraphQL).
Build query¶
Build a query that returns the email field for the audience members to send to Shopify (GraphQL). Amperity matches each row to a Shopify customer by email and applies the customer tag to the matching customers.
The following example shows a query that returns email addresses from the Customer 360 table:
SELECT
email
FROM Customer_360
Note
Shopify must already contain a customer whose email matches a row. A row that Shopify cannot match by email is reported as a failed row.
Add orchestration¶
An orchestration defines the relationship between query results and a destination, including the destination and the frequency at which an orchestration runs.
Open the Activations page, select the Orchestrations tab, and then click the Add orchestration button. This opens the Add orchestration dialog box.
From the Object type dropdown, select Query.
From the Object dropdown, select the query for which results is sent to Shopify (GraphQL).
From the Destination dropdown, select a destination that is configured for sending data to Shopify (GraphQL).
Verify all settings.
Set the workflow to Manual. You can change this to automatic later, after verifying the end-to-end workflow.
Click Save.
Run orchestration¶
Run the orchestration manually to validate that it works.
Open the Activations page, select the Orchestrations tab, and then open the menu for the Shopify (GraphQL) orchestration. Select Run.
The Status column for the orchestration updates to say “Waiting to start”, after which the notifications pane updates to include a notification that shows the current status.
When the orchestration has run successfully, the status is updated to “Completed”.