Actions16
- Agent Actions
- Hiring Actions
- Execution Actions
- Deployment Actions
Overview
This node interacts with the AgentHub platform to execute a hired AI agent. It allows users to provide input data to the agent, trigger its execution, and optionally wait for the execution to complete within a specified timeout period. This is useful for automating tasks or workflows that require AI agent processing based on dynamic input data.
Use Case Examples
- Automate customer support by executing a hired AI agent with customer query data.
- Run data analysis by executing an AI agent with input datasets and waiting for the results.
- Trigger an AI agent to perform a specific task in a workflow and proceed once the execution completes.
Properties
| Name | Meaning |
|---|---|
| Hiring ID | The ID of the hired agent to execute, used to identify which agent instance to run. |
| Input Data | JSON formatted input data provided to the agent for processing during execution. |
| Wait for Completion | Boolean flag indicating whether to wait for the agent's execution to complete before proceeding. |
| Timeout (seconds) | Maximum time in seconds to wait for the execution to complete if waiting is enabled. |
Output
JSON
executionId- The unique identifier of the execution instance.status- The current status of the execution (e.g., running, completed, failed).result- The output or result data produced by the agent execution.
Dependencies
- AgentHub API with API key authentication
Troubleshooting
- Ensure the Hiring ID corresponds to an active hired agent; invalid IDs will cause errors.
- Input Data must be valid JSON; malformed JSON will cause execution to fail.
- If waiting for completion, the timeout should be set appropriately to avoid premature termination.
- API key credentials must be correctly configured to authenticate requests.
Links
- AgentHub Execution API Documentation - Official documentation for executing agents via the AgentHub API.