Twilio (SMS + WhatsApp)
Paste an API keyText a document link the moment a flow finishes.
What you can do
- Send an SMS or WhatsApp message with Twilio — message plus the run's document links, delivery-status checked
What can you do with Twilio (SMS + WhatsApp) and ASHDOCS?
Some people never open an email but always read a text. The Send an SMS or WhatsApp (Twilio) step sends from your Twilio number by SMS or WhatsApp, adds links to the run's documents at the end, and checks Twilio's delivery status before it calls the step done.
Example flow
- 1Trigger: When a webhook arrives. Your booking system posts the customer's name, phone number and appointment time.
- 2Write a document: an appointment confirmation with the date, time and address.
- 3Send an SMS or WhatsApp (Twilio), with Channel set to sms, To number {{trigger.body.phone}}, and a one-line Message; the PDF link is added automatically.
- 4Result: The customer gets a text with a link to their confirmation PDF, and the run shows Twilio's delivery status.
Get your Twilio (SMS + WhatsApp) credentials
- 1In the Twilio Console dashboard copy your Account SID (AC…) and Auth token.
- 2You also need a Twilio phone number (or WhatsApp sender) to send from.
Add the connection in ASHDOCS
- 1Open the Connections page in the flows console.
- 2Click “Connect with a key” and pick Twilio (SMS + WhatsApp).
- 3Paste: Account SID, Auth token, From number. ASHDOCS validates the credentials against Twilio (SMS + WhatsApp) before saving — a bad key is rejected with a plain-English reason, never stored.
Use it in a flow
In the flow builder, add the Twilio (SMS + WhatsApp) step, pick your connection, and fill the fields — values from earlier steps drop in as {{s1.field}} placeholders. Then hit Test this step in the step's panel to run it on its own before switching the flow on.
Troubleshooting
FAQ
Yes — the message is read back by SID and the step fails honestly if Twilio reports failed or undelivered.
Always +country format, e.g. +14155552671.
Yes. Set “Include document links?” to no and only your message is sent.
Yes, the message plus links is cut at 1,500 characters. Keep the message short if the run makes several documents.