Actions12
- Facebook Actions
- Instagram Actions
- WhatsApp Actions
Instagram → Send Message
AI-generatedSummary
Send a direct message via Instagram DM to a specified recipient ID, choosing between sending a text message or an image by URL.
Inputs
- clientName (required) — Select the client to use whose Instagram credentials are loaded automatically from the database.
- recipientId (required) — IGSID of the Instagram user who will receive the message.
- messageType (required) — Choose the type of message to send: 'text' for a text message or 'image' for an image message.
- igMessageText (required) — The text content of the message when 'text' is selected as the message type.
- imageUrl (required) — The public URL of the image to send when 'image' is selected as the message type.
Output shape
a list of JSON objects reflecting success status and details of each message sent for each input item
Returns an array where each item corresponds to an input item and includes standard properties such as 'success', 'resource', 'operation', 'client', and the raw API response data. Errors are handled per item if 'continueOnFail' is enabled.
Examples
Example 1: Sending a text message
Select client, input recipientId, choose messageType as 'text', and enter igMessageText string.
Example 2: Sending an image message
Select client, input recipientId, choose messageType as 'image', and provide imageUrl of the image to send.