Send MMS
AutomatR.Twilio.Activities.SendMMS
The "Send MMS" activity in AutomatR is part of the Twilio SMS activities package, allowing you to send multimedia content, such as images, videos, and audio, through text messages. This activity simplifies the process of sending multimedia messages, enhancing automation workflows involving SMS communication.
Properties
Name | Description |
---|---|
Input | |
Account SID | It is a unique identifier assigned to each Twilio account. It serves as a primary identifier for account management and API authentication purposes. Required argument. |
Auth Token | It is a confidential access credential used to securely interact with Twilio's services. Required argument. |
Body | Represents the actual message content that will be included in an MMS communication. Required argument. |
To | Refers to the receiver's phone number who the message is being sent. Required argument. |
From | Refers to the sender's phone number who the message is being sent. Required argument. |
Media URL | Refers to a web address or URL that points to multimedia content, such as images, videos, or audio files, that you want to include in an MMS Message. Required argument. |
Misc | |
Display Name | Provides a customizable name for the activity displayed in the workflow. The display name enhances clarity and organization within the automation project. String variables containing the desired display name. |
Optional | |
Delay | Specifies the amount of time (in seconds) to wait before executing the "Send MMS" activity. This can be useful for handling synchronization issues. Integer variables containing the delay duration. Example: If the amount of time is 1000 milliseconds or 1 sec, i.e., 1. |
Output | |
Message Response | Stores the result in a List<MessageResource> , which can be utilized in other subsequent activities. Variables of type List<MessageResource> to store the result. |
How to use:
- Drag and drop the "Send MMS" activity onto the workflow.
- Configure the properties by specifying the Twilio account SID, authentication token, message content, recipient's phone number, sender's phone number, and media URL.
- Optionally, configure the delay.
- Execute the workflow to send the multimedia message.
Example: Consider an example where the "Send MMS" activity is used to send an image message to multiple recipients:
Send MMS:
Account SID: "your_twilio_account_sid"
Auth Token: "your_twilio_auth_token"
Body: "Hello, check out this image!"
To: "+1234567890,+9876543210"
From: "+9876543210"
Media URL: "https://example.com/image.jpg"
Delay: 2
Message Response: mmsResponses
In this example, the activity sends an MMS with the specified content and media URL to recipients with phone numbers +1234567890 and +9876543210. The response, containing information about each sent message, is stored in the mmsResponses
variable for further handling in the workflow.