Actions38
- Agent Actions
- Company Actions
- Content Actions
- Conversation Actions
- File Actions
- Message Actions
- Project Actions
- Workflow Actions
Agent → Create
AI-generatedOverview
This node operation creates a new AI agent within the Agentic Hub platform. It is useful for workflows that require managing AI agents by defining their behavior and associating them with specific workflows. For example, you can create an agent with a unique name, assign it to a workflow, set its main prompt to define its behavior, and configure additional dynamic fields and activation status.
Use Case Examples
- Creating a new AI agent named 'SupportBot' for a customer service workflow with a specific prompt to handle user queries.
- Adding a new agent to an existing workflow with custom dynamic fields for enhanced configuration.
Properties
| Name | Meaning |
|---|---|
| Name | Agent name. Must be unique within the workflow. |
| Workflow ID | ID of the workflow to which the agent belongs. |
| Main Prompt | Main prompt that defines the agent's behavior. |
| Dynamic Fields | Additional dynamic fields for configuring the agent (JSON array). |
| Is Active | Whether the agent is active. |
Output
JSON
json- The response from the Agentic Hub API containing details of the created agent.
Dependencies
- Agentic Hub API key credential
Troubleshooting
- Ensure the 'Name' is unique within the workflow to avoid conflicts.
- Verify that the 'Workflow ID' is valid and accessible.
- Check that the 'Dynamic Fields' JSON is correctly formatted to prevent parsing errors.
- Common error messages include authentication failures (check API key), invalid input data (check required fields), and server errors (retry or check service status).
Links
- Agentic Hub API Documentation - Official API documentation for managing agents and other resources.