Instagram Automation icon

Instagram Automation

šŸ¤– ENVIA mensagens, responde comentĆ”rios, busca conversas e informaƧƵes de usuĆ”rios do Instagram

Mensagem → Enviar Post do Instagram

AI-generated

Overview

This node enables Instagram automation actions specifically for sending Instagram posts via direct messages. It is designed to send posts, reels, or carousels from the user's own Instagram account to a specified recipient by their Instagram User ID. This is useful for automating the sharing of Instagram content directly with followers or contacts through Instagram's messaging platform.

Use Case Examples

  1. Automatically share a new Instagram post with a list of followers.
  2. Send a reel or carousel post to a specific user as part of a marketing campaign.
  3. Integrate Instagram post sharing into a customer engagement workflow.

Properties

Name Meaning
User ID (Instagram) The Instagram User ID of the message recipient. This ID is required to specify who will receive the Instagram post. It can be obtained from the Instagram webhook or conversation history.
Media ID do Post The Media ID of the Instagram post or reel to send. This must be a numeric Media ID obtained via the Instagram Graph API, not the shortcode. It identifies the specific post to share.

Output

JSON

  • success - Indicates if the post was sent successfully (true/false).
  • message_id - The ID of the sent message returned by Instagram.
  • recipient_id - The Instagram User ID of the recipient who received the post.
  • type - The type of message sent, which will be 'media_share' for posts.
  • media_id - The Media ID of the Instagram post that was sent.

Dependencies

  • Requires an Instagram API access token and Instagram User ID credentials for authentication.

Troubleshooting

  • Ensure the User ID is valid and not empty; using invalid or empty User ID will cause errors.
  • The Media ID must be numeric and correspond to a post owned by the authenticated Instagram account; using a shortcode or a post not owned by the user will cause errors.
  • The node prevents sending messages to the authenticated user's own Instagram User ID to avoid infinite loops.
  • If the Instagram API returns errors, check the access token validity and permissions, especially for messaging and media sharing.
  • For sending posts, confirm that the post is from your own Instagram account as the API does not allow sharing posts from other accounts.

Links

Discussion