Skip to main content

Set Up Your Dough Dog Integration

How to connect Dough Dog to Postscript, and the subscription triggers and merge tags it sends.

Postscript integrates with Dough Dog so that subscription activity in Dough Dog can trigger SMS automations in Postscript. Once the integration is connected, every Dough Dog event becomes a trigger you can select in the flow builder, and every event property becomes a merge tag you can use in your messages.

About Dough Dog

Dough Dog is a subscription app for Shopify brands. It manages the full subscription lifecycle for your customers, from the first order through renewals, skips, swaps, cancellations, and reactivations. As those events happen, Dough Dog sends them to Postscript so you can reach subscribers by SMS at each moment that matters, such as an upcoming charge, a failed payment, or an item that went out of stock.

Why connect Dough Dog

Connecting Dough Dog lets you build timely, personalized SMS automations around your subscription program. With the integration in place, you can:

  • Remind subscribers before an upcoming charge and give them one-tap links to skip, delay, or swap the order.

  • Recover revenue by texting customers when a payment fails, with a direct link to update their payment method.

  • Confirm paid orders and share what is shipping, so subscribers always know what to expect.

  • Win back churned subscribers by reaching them when a subscription is cancelled or a prepaid term is about to renew.

  • Reduce support volume by flagging out-of-stock items early and pointing customers to swap options.

Connect Postscript to Dough Dog

You will set up the integration from inside Dough Dog using a Postscript private API key.

  1. In Dough Dog, go to Tools > Integrations and find the Postscript card.

  2. In Postscript, copy your private API key (it starts with sk_) from your Postscript API settings. Paste it into the Dough Dog Postscript card and click Connect. Public keys (those starting with pk_) are rejected.

  3. Click Register Triggers. Dough Dog sends one sample of every enabled event so that all triggers and merge tags appear in your Postscript flow builder within a couple of minutes.

Sample events are marked with doughdog_sample: true and have no recipient, so they never reach a subscriber.
​

If Postscript later rejects the stored key, the integration is marked broken and events are skipped until you click Reconnect with a current key.

Available triggers and merge tags

Dough Dog sends ten events to Postscript. Each one is a trigger you can select in the flow builder, and each property it carries is a merge tag you can use in your messages. customer_first_name and portal_url (a link to the subscriber's subscription portal) come with every event, so the table below lists only the merge tags specific to each trigger.

Trigger

Fires when

Trigger-specific merge tags

subscription_created

A subscription is created

frequency_text, plan_name, product_type

algorithm_assigned

A product is assigned to an upcoming order

item_count, items_list_formatted, ship_date, theme_name, swap_url

charge_upcoming

An order is coming up

item_count, items_list_formatted, next_billing_date, order_total_formatted, skip_url, delay_url, swap_url

charge_paid

A subscription order is paid

item_count, items_list_formatted, order_total_formatted, ship_date

charge_failed

A payment fails and will be retried

order_total_formatted, payment_method_type, payment_update_url

item_out_of_stock

An item on an order is out of stock

item_name, ship_date, swap_url

subscription_skipped

An order is skipped

skipped_order_date

subscription_cancelled

A subscription is cancelled

cancelled_date, plan_name

subscription_reactivated

A cancelled subscription is reactivated

plan_name

prepaid_renewal_upcoming

A prepaid term is about to renew

renewal_date, renewal_total_formatted

A few triggers have behavior worth knowing when you build your flows:

  • subscription_created: frequency_text reads in natural language, such as every month or every 2 months.

  • charge_upcoming: not sent for fully prepaid orders, since no charge is coming. It is sent again if the order's shipment date moves (for example, a delay, Send Later, or reschedule).

  • charge_failed: payment_update_url falls back to portal_url when no payment-update link is available.

How event properties are formatted

Dough Dog pre-formats every value for use in a text message, so you can drop merge tags straight into your flows without extra formatting:

  • Values are flat and ready to send. Postscript can't loop or do math on event data, so each property arrives as a finished string.

  • Money includes the currency symbol, such as $42.00.

  • Dates are long-form and in UTC, such as October 1, 2026.

  • Item lists come as a single comma-separated string. Quantities above one render as Name (x2), for example Classic Boxer, Crew Socks (x2).

  • Empty values are omitted. A merge tag is either populated or absent, never sent blank, so build fallbacks into your message copy where a tag may not always be present.

  • Quick-action links (the _url merge tags such as skip_url, delay_url, and swap_url) are one-tap links into the subscriber's portal. A link is left out when the order isn't eligible for that action.

  • Gift subscriptions never notify the recipient. Gift events go to the gifter.

  • Recipients are matched by the customer's phone and email.


Get Support

Have questions? Please feel free to reach out to our Support team at [email protected] or via live chat.

Need ongoing channel strategy guidance? Please fill out this form and we'll connect you to one of our certified partners.

For questions about your Dough Dog account or how events are configured on the Dough Dog side, contact Dough Dog support.

Did this answer your question?