Actions5
- Instance Actions
- Message Actions
Message → Send Text
AI-generatedSummary
Send a text message via the Pastorini API to a specified WhatsApp recipient.
Inputs
- Instance ID (required) — Identifier of the Pastorini API instance to send the message from.
- Recipient (JID) (required) — WhatsApp ID of the recipient, formatted like '5511999999999@s.whatsapp.net'.
- Message Text (required) — The text content of the message to send.
Output shape
a list of JSON objects
Each item contains the response from the Pastorini API for the sent message request; errors are returned as objects with an error message if 'Continue On Fail' is enabled.
Examples
Example 1: Sending a plain text WhatsApp message
Set 'Instance ID' to your instance's unique identifier, specify the recipient's WhatsApp JID, and provide the text message content to be sent.