Actions6
Overview
This node integrates with the BrowserAI API to manage and interact with automated browser tasks. Specifically, the "Get Task Metadata" operation retrieves detailed metadata about a particular task using its Session ID. This is useful for monitoring task status, understanding task configuration, or debugging.
Common scenarios include:
- Fetching the current state and details of a running or completed browser automation task.
- Auditing task parameters and execution context.
- Integrating task metadata retrieval into larger automation workflows for decision-making or reporting.
Example: After starting a browser automation task, you can use this node operation to periodically check the task's metadata to see if it has completed or to gather information about its execution environment.
Properties
| Name | Meaning |
|---|---|
| Session ID | The unique identifier of the task session whose metadata you want to retrieve. |
Output
The output is a JSON object containing the metadata of the specified task. This typically includes details such as task status, creation time, configuration parameters, progress, and other relevant information returned by the BrowserAI API for that task.
No binary data is output by this operation.
Dependencies
- Requires an API key credential for authenticating with the BrowserAI API.
- The node makes HTTP GET requests to the BrowserAI endpoint
https://browser.ai/api/v1/tasks/{sessionId}. - Ensure the API key credential is configured correctly in n8n before using this node.
Troubleshooting
- Missing or invalid Session ID: If the Session ID is not provided or incorrect, the API call will fail. Make sure to supply a valid Session ID corresponding to an existing task.
- Authentication errors: If the API key is missing or invalid, the request will be rejected. Verify that the API key credential is set up properly.
- Network issues: Connectivity problems may cause request failures. Check network access to
https://browser.ai/api/v1/. - API errors: The API might return errors if the task does not exist or is inaccessible. Review the error message for details and confirm the Session ID.
Links and References
- BrowserAI API Documentation (for detailed API endpoints and responses)
- n8n documentation on HTTP Request Node (conceptual reference for API calls)