NotificaMe Hub icon

NotificaMe Hub

Integração com NotificaMe Hub API

Overview

The NotificaMe Hub node for n8n allows you to automate the process of publishing new posts to Instagram channels. With the "Novo Post" (New Post) operation, you can programmatically create posts on Instagram feeds, stories, or reels by providing a public file URL and an optional caption. This is particularly useful for businesses, marketers, or content creators who want to schedule or trigger Instagram posts as part of automated workflows.

Example scenarios:

  • Automatically post product images to your Instagram feed when a new item is added to your e-commerce platform.
  • Share promotional videos to Instagram stories or reels based on marketing campaign triggers.
  • Integrate with other n8n nodes to cross-post content from other social media platforms or content management systems.

Properties

Below are the input properties supported by the "Instagram" resource and "Novo Post" operation:

Display Name Type Description
ID Do Canal String The ID of the Instagram channel where the post will be published. (Required)
Tipo Da Postagem Options Where the media will be published:
- Feed (images only)
- Stories (images/videos)
- Reels (videos only). Default: Feed
URL Do Arquivo String Public URL of the file to be posted. (Required)
Legenda String Caption for the post. Optional text to accompany the media.

Output

The output of this node will be a JSON object containing information about the result of the post operation. While the exact structure depends on the API response, it typically includes:

{
  "success": true,
  "postId": "1234567890",
  "channelId": "987654321",
  "postType": "feed",
  "caption": "Your caption here",
  "mediaUrl": "https://example.com/yourfile.jpg",
  "timestamp": "2024-06-01T12:34:56Z"
}
  • success: Indicates if the post was successfully created.
  • postId: The unique identifier of the created Instagram post.
  • channelId: The ID of the Instagram channel used.
  • postType: The type of post (feed, stories, reels).
  • caption: The caption used in the post.
  • mediaUrl: The URL of the media that was posted.
  • timestamp: When the post was created.

Note: Actual fields may vary depending on the NotificaMe Hub API's response.

Dependencies

  • External Service: Requires access to the NotificaMe Hub API.
  • API Credentials: You must configure the notificamehubApi credential in n8n.
  • Environment: Ensure the provided file URL is publicly accessible by the NotificaMe Hub service.

Troubleshooting

Common Issues:

  • Invalid Channel ID: If the "ID Do Canal" is incorrect or does not correspond to an Instagram channel connected to NotificaMe Hub, the post will fail.
  • Unsupported Media Type: Posting a video to "Feed" or an image to "Reels" may result in errors, as each post type supports specific media formats.
  • File URL Inaccessible: If the "URL Do Arquivo" is not publicly accessible, the API cannot retrieve the media, leading to failure.
  • Missing Credentials: If the required API credentials are not set up in n8n, authentication errors will occur.

Error Messages & Resolutions:

  • "Channel not found": Verify the "ID Do Canal" and ensure the channel is correctly configured in NotificaMe Hub.
  • "Invalid media type for post type": Check that the file format matches the selected "Tipo Da Postagem".
  • "Unable to fetch media from URL": Make sure the file URL is correct and publicly accessible.
  • "Authentication failed": Confirm that the notificamehubApi credential is properly set up in n8n.

Links and References

Discussion