Send Whatsapp Message
AI-generatedSummary
Send a WhatsApp message by specifying the recipient either via CRM Contact ID or direct phone number, including optional text and attachments.
Inputs
- Recipient Type (required) — Choose either 'Contact ID' to use a CRM Contact ID or 'Phone Number' to send directly to a phone number.
- Contact ID (required) — The CRM Contact ID to identify the recipient (required if Recipient Type is 'Contact ID').
- Phone Number (required) — The recipient's phone number with country code (e.g., +1234567890), required if Recipient Type is 'Phone Number'.
- Message — The textual content of the WhatsApp message to send.
- Attachments — An array of attachment URLs (such as images or documents) to send along with the message.
Output shape
a list of JSON objects, each representing the response from the MessageSync.ai API for each input item.
Returns one item per input with the full API response JSON on success. On failure, returns an error message JSON if 'Continue On Fail' is enabled; otherwise, execution stops with an error.
Examples
Example 1: Send WhatsApp message using CRM Contact ID with text and attachments
Recipient Type set to 'Contact ID', specify the Contact ID, provide message text and zero or more attachment URLs.
Example 2: Send WhatsApp message directly to a phone number with only a text message
Recipient Type set to 'Phone Number', specify the phone number with country code, provide message text, no attachments.