Actions31
- Revenda Actions
- Instagram Actions
- Messenger Actions
- WhatsApp Actions
- Telegram Actions
- Mercado Livre Actions
- OLX Actions
- WebChat Actions
- Email Actions
Overview
The "Enviar Arquivo" operation for the Instagram resource in this node allows users to send media files—specifically images or videos—to a recipient on Instagram via their channel. This is useful for automating the distribution of multimedia content such as promotional images, video messages, or any visual communication directly through Instagram messaging.
Practical scenarios include:
- Sending product images or promotional videos to customers.
- Sharing event photos or video updates with followers or clients.
- Automating customer support by sending instructional videos or screenshots.
Properties
| Name | Meaning |
|---|---|
| ID Do Canal | The Instagram channel ID from which the file will be sent. |
| ID Do Destinatário | The recipient's Instagram user ID who will receive the file. |
| Tipo Do Arquivo | The type of file to send; options are: "Imagem" (image) or "Vídeo" (video). |
| URL Do Arquivo | A publicly accessible URL pointing to the file to be sent. |
Output
The node outputs JSON data representing the result of the file sending operation. This typically includes confirmation details such as message IDs, status, timestamps, or error information if the operation failed.
If the node supports binary data output (not explicitly shown here), it would represent the sent file or related media metadata, but based on the provided code and properties, the output focuses on JSON response data confirming the action.
Dependencies
- Requires an active connection to the NotificaMe Hub API service.
- Needs a valid API authentication token configured in n8n credentials to authorize requests.
- The file to be sent must be accessible via a public URL (no private or local URLs).
- Instagram channel and recipient IDs must be valid and authorized within the connected Instagram account.
Troubleshooting
- Invalid Channel or Recipient ID: Errors may occur if the provided Instagram channel or recipient IDs are incorrect or unauthorized. Verify these IDs in your Instagram business account or developer dashboard.
- File URL Accessibility: If the file URL is not publicly accessible or returns errors, the operation will fail. Ensure the URL is reachable without authentication.
- Unsupported File Type: Only "image" and "video" types are supported. Using other types will cause errors.
- API Authentication Issues: Missing or invalid API credentials will prevent the node from executing successfully. Check that the API key/token is correctly set up in n8n.
- Network or Service Downtime: Temporary failures might happen due to network issues or downtime of the NotificaMe Hub API.
Common error messages usually indicate authorization failures, invalid parameters, or unreachable file URLs. Resolving them involves checking credentials, input values, and file accessibility.
Links and References
- Instagram Messaging API Documentation
- NotificaMe Hub API Documentation (for API specifics)
- n8n Documentation for general node usage and credential setup guidance