Actions6
- Mensagem Actions
- Conversa Actions
Conversa ā Obter Mensagens
AI-generatedOverview
This node integrates with Instagram's Graph API to automate various Instagram messaging and interaction tasks. Specifically, the 'Obter Mensagens' operation under the 'Conversa' resource retrieves messages from a specified Instagram conversation. This node is useful for automating Instagram direct message workflows, managing conversations, and fetching message details for further processing or analysis. For example, it can be used to fetch all messages in a conversation to analyze customer inquiries or automate responses based on message content.
Use Case Examples
- Fetch all messages from a specific Instagram conversation by providing the conversation ID obtained from the 'Listar Conversas' operation.
- Use the retrieved messages to trigger further automation, such as sending replies or logging conversation history.
Properties
| Name | Meaning |
|---|---|
| Conversation ID | The unique identifier of the Instagram conversation from which to retrieve messages. This ID is obtained from the 'Listar Conversas' operation. |
Output
JSON
success- Indicates if the operation to get messages was successful.conversation_id- The ID of the conversation from which messages were retrieved.total_messages- The total number of messages retrieved in the conversation.messages- An array containing message objects with basic details such as message ID and creation time.note- Additional information or instructions related to the output, e.g., how to get full message details.
Dependencies
- Instagram Graph API
Troubleshooting
- Ensure the 'Conversation ID' is correctly obtained from the 'Listar Conversas' operation; an incorrect or empty ID will cause errors.
- The node requires a valid Instagram API access token with appropriate permissions to read conversations and messages.
- If the API returns errors, check the access token validity and Instagram account permissions.
- The node does not handle real-time events; use the Instagram Webhook node to receive live messages or comments.
Links
- Instagram Graph API - Conversation Messages - Official documentation for retrieving messages from Instagram conversations via the Graph API.