Set Up Your Stay Ai Integration

Postscript integrates with Stay Ai, allowing you to share information between the two solutions. Stay Ai is a comprehensive subscription platform that allows you to acquire subscribers, increase customer lifetime value, and reduce churn. With our Stay Ai integration, you can keep your subscribers up-to-date on orders via SMS.

In this article, we'll walk you through how to set up the integration. We'll also define each available Stay Ai trigger event and guide you through building an automation that employs Stay Ai trigger events.

Create a Postscript API Key


API.png

  1. Select your Shop Name in the side menu of your Postscript dashboard, then select API.
  2. Select Create Security Key Pair on the right side of the page, then confirm your action by selecting Yes.
  3. Add a label to your API key so you can track where this API key is being used.
  4. Select Show in the Private Key column to reveal your API key. Copy this key or write it down—you'll need to enter it in Stay Ai later.

Configure Postscript in Stay Ai


1. From your Stay Ai merchant portal, select the Settings option on the left-side navigation panel. Then select Integrations.

StayAi1.png

2. Under Postscript, select the + Integrate with Stay Ai button.

3. Enter the Private API key you generated in the previous section of this help article, then select the Validate button to confirm that the authentication is secure. 

StayAi2.png

4. If the connection is validated, you will see a green checkmark next to Postscript. Then select the Finish Installation button.

StayAi3.png

Create a Stay Ai-Specific Automation


StayAIAutomation.gif

  1. From your Postscript Dashboard, select Messages; then select Automations.
  2. Select Create Automation in the upper-right corner. Select Create Automation Flow.
  3. Select Create a new automation, then Create flow.
  4. Name your automation. Be sure to use a name that will allow you to easily identify and track this automation in the future.
  5. Select the dropdown menu under Add a subscriber when, then choose your Stay Ai trigger. These will be labeled in the following format: Alloy_Automation - Stay Ai [CUSTOMER EVENT].
  6. Continue customizing your automation flow by dragging and dropping actions into your flow, customizing your message, and adding merge tags.
  7. When you're ready to send your flow, select Schedule or Activate in the top-right corner of the page. You have two options when sending a flow:
    • Activate immediately: This option will immediately begin the flow allowing subscribers to enter the automation based on the selected properties.
    • Activate at a scheduled time and date: Choose when you'd like the flow to begin allowing subscribers to enter.

Understanding Stay Ai-Specific Automation Triggers


Trigger Name Definition
A Subscription has started The subscriber has successfully created a new subscription.
An order is purchased A subscription order has been processed.
A billing attempt was processed The order was processed and payment was received.
An order is upcoming This trigger will notify a subscriber 5 days before an upcoming order is processed.
A subscription order is canceled The subscriber has successfully canceled their subscription.
A subscription order is paused The subscriber has successfully paused their subscription.
A subscription order is skipped The subscriber has successfully skipped their upcoming subscription order.
A billing attempt is failed The subscriber’s card on file was declined.
An item is out of stock The product the customer is subscribed to is currently out of stock.

Get Support


Have questions? Please feel free to reach out to our wonderful Support team at support@postscript.io or via live chat. You can also submit a support request here!

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

Was this article helpful?
0 out of 0 found this helpful