capabilities.work

Validate a Number then Send a Message

A 2-step recipe with Twilio. We can help you get access.

Recipe · 2 steps

Validate a Number then Send a Message

with Twilio

Validate a number with Lookup, then conditionally send a message.

  1. Query the Lookup API for validation and line type intelligence on the supplied phone number.
  2. Send the SMS to the validated phone number from the supplied Twilio sender.
What you'll need to have ready
  • accountSid: The Twilio account SID (starts with AC) used to send the message.
  • phoneNumber: The phone number to validate and message, in E.164 format.
  • from: Twilio phone number or sender ID to send the message from.
  • body: The text content of the message.
For your developer

Arazzo workflow twilio:lookup-then-send-message, 2 operations: fetchPhoneNumber → createMessage. Specs on APIs.io.