Nashir WhatsApp icon

Nashir WhatsApp

Send and manage WhatsApp messages via nashir.ai

Send Message

AI-generated

Summary

Send a WhatsApp message using a selected Nashir WhatsApp account to a specified phone number, supporting text, template, media (binary file), or image (URL) message types.

Inputs

  • Account (required) — Select which WhatsApp account to use for sending the message.
  • To (Phone Number) (required) — Recipient phone number in international format (e.g., +1234567890).
  • Message Type (required) — Type of message to send: Text, Template, Media, or Image (by URL).
  • Content (required) — Text content of the message, required for Text and Template message types.
  • Media Binary Property (required) — Name of the binary property holding the media file to send, required for Media message type.
  • Image URL (required) — Public HTTPS URL of the image to send; used for Image message type. Must be JPEG or PNG and accessible to WhatsApp servers.

Output shape

a list of objects containing the API response for each sent message.

Returns an array with one entry per input item; each entry contains the JSON response from Nashir API after sending the message. Errors are returned per item if configured to continue on failure.

Examples

Example 1: Send a plain text message to a recipient's phone number using a selected WhatsApp account.

Set 'Account' to the target WhatsApp account, enter recipient phone number in 'To (Phone Number)', select 'Message Type' as 'Text', and fill the 'Content' field with your message text.

Example 2: Send an image to a recipient by providing a public HTTPS URL.

Select 'Account', enter recipient number in 'To', choose 'Message Type' as 'Image', then provide the public HTTPS URL of a JPEG or PNG image in the 'Image URL' field.

Example 3: Send a media file uploaded in the workflow's binary data.

Set 'Account', recipient 'To' number, choose 'Media' as 'Message Type', and specify which binary property contains the media file ('Media Binary Property'). The node uploads the media and sends it.

Links

Discussion