The Postscript integration sends the phone numbers your popups collect to Postscript. Alia subscribes each phone number to the Postscript keyword you choose, along with the email address if the visitor gave one. Alia also saves discount codes and quiz answers on the subscriber.
Postscript only receives visitors who give a phone number.
Before you begin
You need a Postscript account with access to its API settings.
Create the keyword you want Alia subscribers to join in Postscript.
Create a private API key in Postscript
In Postscript, go to the API section of your settings.
Select Create Security Key Pair.
Copy the private key. It starts with
sk.
đĄ Note: Use the private key, not the public key. Alia can't connect with the public key.
Connect Postscript to Alia
In Alia, go to Integrations.
Find Postscript and select Connect.
In the Postscript integration window, paste your private API key.
Choose a Keyword.
Select Create.
The Postscript card now shows Connected to and your shop's name. Select Edit to change the keyword, or Disable to disconnect. If you use Postscript Onsite Opt-In, you still need to choose a keyword to connect. Onsite opt-in forms don't use it.
Send one popup to a different keyword
Use this to send different popups into different Postscript automations.
Open the popup in the popup editor.
With nothing selected, go to the Integration settings tab.
Expand Postscript settings.
Choose a different Keyword.
Select Save.
You can also set a keyword for a single phone form in the form's Postscript settings, or for a single reward under Integration overrides. A popup's settings apply the first time Alia sends a visitor to Postscript. Form and reward settings apply every time. See How to confirm which list/unit your popup is going to - Postscript.
Set up your welcome automation
In Postscript, start your welcome automation from the keyword Alia uses.
To include each subscriber's code, insert the
aliaoffersubscriber property in the first message.Set a backup code in Postscript in case the property is empty.
đĄ Tip: If the reward or quiz comes after the phone step, turn off Immediately subscribe users to CRMs on the phone form. Alia then waits until the visitor claims their reward, so the code is on the subscriber before the first text goes out. It's under Advanced form settings.
What Alia sends to Postscript
Every subscriber Alia creates gets the Postscript tag Alia. Alia also saves these subscriber properties:
Property | What it holds | When Alia sends it |
| The discount code | When they claim a reward |
| The reward's title, such as "15% off" | When they claim a reward |
| When the code expires | When they claim a reward, if the code expires |
The question text | The visitor's answer | When they answer a quiz or survey question |
Postscript doesn't allow punctuation in property names, so Alia removes it. For example, "What's your skin type?" arrives as Whats your skin type. For a question that allows more than one answer, only the first answer is saved. While Postscript is connected, Alia uses the SMS disclaimer from your Postscript account as the SMS consent text in your popups. See What Alia sends to Postscript for the full list.
Frequently asked questions
Why isn't my welcome automation firing?
Check that the Postscript card doesn't say Could not connect to Postscript. If it does, the API key was probably deleted or changed in Postscript, so disable the integration and connect again. Then check that the automation starts from the keyword Alia actually uses and is active. See Troubleshooting your Postscript integration.
Why is aliaoffer empty in my texts?
Alia saves aliaoffer when the visitor claims a reward. If the first text goes out before that, the property is empty. Turn off Immediately subscribe users to CRMs on the phone form, or set a backup code. The property is spelled aliaoffer, with no underscore.
Do email-only signups go to Postscript?
No. Postscript only receives visitors who give a phone number. Their email is included when they give both.
Why does the card say "Reconnect to enable opt-in tracking"?
Your connection is older than Alia's opt-in tracking. Disable the integration and connect again so Alia can count SMS opt-ins.
Still have questions?
Start a chat from inside the Alia app, or use the chat in our Help Center.

