Submit data for the current step of a flow

Path Params
string
required

The ID of the flow

Body Params
Headers
string

ID for a user state in the execution flow (generated in the first interaction with a flow).

Alternatively, this header can be omitted to directly submit data for the first form node. Note that direct submission is only supported for form nodes.

string
enum

Selected language for flow execution

boolean

This header determines whether the conditional node should block the flow's execution until the service completes and returns the next node. When set to true, the system will attempt to return the next node within 30 seconds.

  • Interactive Node: If the next node is interactive (e.g. a form node or an interactive service node), it will be returned.
  • End Node: If the next node is an end node, the end node will be returned.
  • Pending Response: If the process exceeds 30 seconds, the response will include "type": "pending", along with the header "x-hf-session", containing the session ID for tracking the user's state in the flow. This session ID can be used for continued polling to retrieve information related to that specific execution.

This mechanism allows the flow to continue progressing, even if the complete result is not immediately available.

Responses

Language
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json