gotoHuman icon

gotoHuman

Request human reviews with gotoHuman

Actions4

Review Request → Send and Wait for Response

AI-generated

Overview

This node sends a human review request using a specified review template and waits for the response. It is useful in workflows where human feedback or approval is required before proceeding. For example, it can be used to request a review of a document, code, or any other content and pause the workflow until the review is completed.

Use Case Examples

  1. Sending a review request to a specific agent with predefined fields populated from a template.
  2. Waiting for a human to respond to a review request before continuing the workflow execution.

Properties

Name Meaning
Agent The agent you are acting as or sending the review request as, selected from a list or specified by ID.
Review Template The review template to use for the request, selected from a list or specified by ID.
Fields The fields to populate the review template with, defined below or mapped from the template fields.
Review Data The raw JSON data to populate the review template when using raw review data feature.
Review Config Optional JSON configuration to dynamically configure the review and its fields when using raw review data feature.
Session ID An optional session ID to connect various events and reviews of the same agent session or execution.
Meta Data Option to add meta data to receive back in the response webhook, either none, as JSON, or as key-value pairs.
Meta Data JSON The meta data as a JSON object to add when 'Add as JSON' is selected.
Meta Data Values The meta data as key-value pairs to add when 'Add as Key-Value Pairs' is selected.
Assigned Users Option to assign the review to all users by default or only selected users by email.
Selected Users The list of email addresses of users to assign the review to when 'Only Selected Users' is chosen.
Additional Fields Additional optional fields such as title, auto approve flag, workflow info, and update for review ID.

Output

JSON

  • json
    • statusCode - HTTP status code of the API response
    • body - Body of the API response containing details of the review request or error information
  • pairedItem
    • item - Index of the input item this output corresponds to

Dependencies

  • An API key credential for gotoHuman API

Troubleshooting

  • Ensure the agent and review template IDs are valid and exist in the gotoHuman system.
  • Check that the JSON provided in 'Review Data', 'Review Config', and 'Workflow Info' fields is correctly formatted to avoid JSON parsing errors.
  • If the node throws HTTP errors (4xx or 5xx), verify the API credentials and network connectivity.
  • Timeouts can be configured by the API response; ensure the webhook URL is correctly set for 'sendAndWait' operation to receive the response.

Links

Discussion