Schedule a Message and Cancel It Before Send
A 3-step recipe with Twilio. We can help you get access.
Recipe · 3 steps
Schedule a Message and Cancel It Before Send
with Twilio
Schedule a message, confirm it is scheduled, then cancel it.
- Schedule the message for future delivery through the messaging service.
- Fetch the message to confirm it is in the scheduled state before cancelling.
- Cancel the still-queued scheduled message by updating its status to canceled.
What you'll need to have ready
- accountSid: The Twilio account SID (starts with AC).
- to: Recipient phone number in E.164 format.
- messagingServiceSid: SID (starts with MG) of the messaging service to schedule through.
- body: The text content of the scheduled message.
- sendAt: ISO 8601 time to send the scheduled message.
For your developer
Arazzo workflow twilio:schedule-and-cancel-message, 3 operations: createMessage → fetchMessage → updateMessage. Specs on APIs.io.