Create offers with Shopify

With the Attentive and Shopify integration, you can sync unique discount codes directly from Shopify into an offer in Attentive. You can also upload bulk-generated discount codes created in Shopify or create an offer that matches a shared discount code from Shopify.

Note: After creating an offer within Shopify, you'll need to mark Attentive as a sales channel in order to “activate” the offer on Attentive’s end. To do so, follow the instructions from Shopify.

Create an offer with auto-generated unique discount codes from Shopify

Follow the steps below to create an offer that gets unique, automatically-generated discount codes from Shopify.

Note: If you have multiple Attentive accounts for different regions but only one Shopify store, the same Shopify discount can generally be used across all of your Attentive accounts. However, if you manage multiple regions in a single Attentive account, each region requires its own unique Shopify discount.
  1. On the Offers page, click + Create offer.
  2. In the Choose an offer type window, click Select next to Integrated discount codes.

    Note: This option doesn’t appear if you haven’t yet set up an integration with Shopify.
    Clicking + Create offer on the Offers page and clicking Select next to Integrated discount codes. The Create integrated discount codes page appears.
  3. Enter a Discount name. We recommend using the same name that you use for the discount in Shopify.
  4. In the External ID field, enter the external ID of the discount from your Shopify account.
    • To find a discount’s external ID, go to the Discounts page in Shopify and click on the discount you want to use. The string of numbers at the end of the URL is the external ID. Copy and paste this number into the External ID field in Attentive.
      The external ID highlighted in the URL of a discount in Shopify.
  5. In the Code format field, create a code format with no spaces that contains {RAND}. When subscribers receive a code, {RAND} is replaced by six random characters.

    Example: SAVE10{RAND}
  6. (Optional) Enter a Description.
  7. (Optional) Click Add auto-apply link to automatically apply the discount at checkout, then complete the following:
    • Destination URL: Enter the link where your subscribers should be sent. Include {{offer.code}} where you want the discount code to appear in the URL.

      Example: https://{shopname}.myshopify.com/discount/{{offer.code}}
    • Add UTM parameters: Add UTM parameters you want to append to the link.

      Note: UTM_Source and UTM_Medium may already be filled out based on your Google Analytics configuration. See FAQ for more information.
  8. Click Create.
  9. Wait approximately 5–10 minutes to ensure that discount codes are being generated.

    Note: New discount codes are automatically generated once you reach 1,000 remaining.

After you’ve created your new offer, you can add it to campaigns, welcome journeys, and other kinds of journeys.

Create an offer with unique discount codes from Shopify

If you want to use unique, bulk-generated discount codes from Shopify, you can upload a CSV file with those codes to Attentive. See Create unique discount codes for more information.

Create an offer with a shared discount code from Shopify

After you create a discount with a discount code in Shopify (e.g., SPRING10 for 10% off your purchase), create a new shared discount code in Attentive and use the code from Shopify as its Discount code. See Create a shared discount code for more information.

Articles in this section

Was this article helpful?
1 out of 3 found this helpful