Actions3
- Task Run Actions
Overview
The node "Webagent" allows interaction with the Webagent API, specifically to manage and retrieve information about task runs. The "Get Run" operation under the "Task Run" resource fetches details of a specific run by its unique Run ID. This is useful for scenarios where you need to monitor or audit the status and results of automated tasks executed within the Webagent platform.
Practical examples include:
- Retrieving the outcome of a particular task execution to verify success or failure.
- Fetching metadata or logs related to a specific run for debugging purposes.
- Integrating run data into other workflows or dashboards for reporting.
Properties
| Name | Meaning |
|---|---|
| Run ID | The ID of the run to retrieve. This is a required string input specifying which task run's details should be fetched. |
Output
The output JSON contains the detailed information of the requested task run as returned by the Webagent API. This typically includes fields such as run status, timestamps, results, and any associated metadata. The exact structure depends on the Webagent API response for a single run.
No binary data output is indicated in the source code.
Dependencies
- Requires an API key credential for authenticating requests to the Webagent API.
- The base URL defaults to
https://api.webagent.cloudbut can be overridden by credentials configuration. - Uses the n8n helper method for authenticated HTTP requests to interact with the Webagent REST API.
Troubleshooting
- Invalid or missing Run ID: Ensure that the Run ID provided is correct and exists in the Webagent system; otherwise, the API will return an error indicating the run was not found.
- Authentication errors: Verify that the API key credential is correctly configured and has sufficient permissions to access run data.
- Network issues: Confirm connectivity to the Webagent API endpoint and that no firewall or proxy is blocking requests.
- Unexpected API responses: If the API changes or returns unexpected data, check the Webagent API documentation or contact support.
Links and References
- Webagent API Documentation (assumed URL based on base URL)
- n8n Documentation on Creating Custom Nodes