Actions5
- Instance Actions
- Message Actions
Message → Send Image
AI-generatedSummary
Send an image message via WhatsApp using the Pastorini API by specifying instance ID, recipient JID, and image URL.
Inputs
- Instance ID (required) — Identifier of the Pastorini API instance to be used for sending the message.
- Recipient (JID) (required) — WhatsApp ID of the recipient in JID format, e.g., '5511999999999@s.whatsapp.net'.
- Image URL (required) — URL of the image to be sent in the message.
- Message Text — Optional text message to accompany the image.
Output shape
a list of JSON objects
Each output item corresponds to a response from the Pastorini API for sending the image message. If an error occurs and 'Continue On Fail' is enabled, an error message object is returned for that item instead.
Examples
Example 1: Send an image message with optional text to a WhatsApp contact
Provide the instance ID, recipient JID, and the URL of the image. Optionally include accompanying text. The node sends the image message via the specified Pastorini API instance and outputs the API response.