Procedures
Automation procedures in the Twilio BDK Book.
Make sure to add the Twilio BDK Book to your agent before using these automation procedures.
to read some (SMS messages)
Read some SMS messages using the Twilio API.
Output Concepts
Examples
Retrieve SMS messages filtered by sender and recipient numbers
read some sms messages whose sender number is "+18004445555" and whose recipient number is "+18004446666"
Retrieve SMS messages filtered by the date in which they were sent
convert "2022-03-01T15:00:00Z" to a datetime
use the above as the message date
read some sms messages whose date sent is the message date
Retrieve SMS messages that were sent in the specified time period
convert "2022-03-01T15:00:00Z" to a datetime
use the above as the start date
convert "2022-03-03T15:00:00Z" to a datetime
use the above as the end date
read some sms messages whose date sent is after the start date and whose date sent is before the end date
to send an SMS message
Sends an SMS message using the Twilio API.
Input Concepts
sender number
The Twilio phone number to send the message from
text
Yes
recipient number
The recipient's phone number
text
Yes
message body
The body of the SMS message to send
text
Yes
Output Concepts
answer
The SID of the sent message if successful, otherwise None.
text
Examples
Send an SMS message
send an SMS message where
the sender number is "+18004445555"
the recipient number is "+18004446666"
the message body is "Hello from Kognitos!"
Last updated
Was this helpful?