AI Agent HUB icon

AI Agent HUB

Interact with AI Agent HUB - publish posts to Facebook, Instagram, LinkedIn, list connected accounts.

Messaging → Send Message

AI-generated

Summary

Send a direct message through Facebook Messenger or Instagram Direct using the selected connected account and conversation ID.

Inputs

  • Platform — Choose Facebook Messenger (default) or Instagram Direct.
  • Facebook Account / Instagram Account (required) — Select the connected account for the chosen platform.
  • Conversation ID (required) — Conversation ID, typically from the List Conversations operation.
  • Recipient ID — Instagram only: optional recipient user ID from a conversation participant. Included in the request when provided.
  • Message (required) — Text message to send.

Output shape

One or more n8n items containing JSON.

The node sends the request to the AI Agent HUB messaging endpoint. For this operation, it returns the endpoint response as one JSON item unless it contains a messages array, in which case each message becomes a separate item. Facebook Messenger requests do not include a recipient ID.

Links

Discussion