Agentic Hub icon

Agentic Hub

Complete Agentic Hub API integration - Manage projects, workflows, agents, content, conversations, messages, and files

Workflow → Send Message

AI-generated

Overview

This node operation sends a message within a specified workflow by creating a conversation and sending a message in one API call. It is useful for automating communication workflows where messages need to be sent programmatically, such as customer support chatbots, automated notifications, or conversational AI systems.

Use Case Examples

  1. Sending a message to a user in a customer support workflow with session tracking and conversation metadata.
  2. Automating outgoing messages from an agent to a user within a workflow context, including sentiment and status tracking.

Properties

Name Meaning
Workflow ID The unique identifier of the workflow where the message will be sent.
Session ID Unique session identifier for the conversation to track the message context.
Message Content The text content of the message to be sent.
Direction The direction of the message indicating if it is incoming (user to agent), outgoing (agent to user), or from a human agent.
Conversation Options Optional metadata about the conversation such as status, IP address, human handling flags, last context, order ID, sentiment score, phone number, and whether human attention is required.
Message Options Optional metadata about the message such as error message, external message ID, message status, sentiment score, and template ID.

Output

JSON

  • json
    • conversation - Details of the created or updated conversation including session ID and metadata.
    • message - Details of the sent message including content, direction, and optional metadata.

Dependencies

  • Agentic Hub API with an API key credential for authentication

Troubleshooting

  • Ensure the Workflow ID and Session ID are correctly provided and valid to avoid API errors.
  • Check that the API key credential for Agentic Hub API is correctly configured and has necessary permissions.
  • Validate JSON formats for any complex fields if used in conversation or message options.
  • Common errors include authentication failures, invalid workflow or session IDs, and malformed request bodies. Verify input parameters and API responses for troubleshooting.

Links

Discussion