Skip to main content

HTTP Trigger

What it does​

Starts a workflow when an HTTP request hits the published gateway route. It exposes request method, path, headers, query, and body to downstream nodes.

Inputs/config​

  • The route is the proxy's path, and the accepted methods are the proxy's allowed methods. A request with any other method gets 405 before the workflow runs, so this node never sees it.
  • A method in the trigger's inputs (for example in a template) is sample data for test runs only. At runtime the node passes on the real request method.
  • When the trigger's method is not one of the proxy's allowed methods, the builder shows a warning above the canvas and in the HTTP Trigger panel. Add the method to the proxy, for example POST when you apply a POST template to a proxy that only allows GET.
  • Optional header/query/path constraints can be enforced upstream.
  • No branch-specific config on this node.

Outputs/branches​

  • No matched_output.
  • Follows standard outgoing edge to the next node.
  • Emits request context for downstream expressions.

Example usage snippet​

{
"id": "n1",
"type": "http_trigger"
}

Common pitfalls​

  • Assuming this node validates payloads automatically; use validate_node.
  • Leaving the proxy at its default GET while clients send POST (common with templates): those requests get 405 and the workflow does not run.
  • Forgetting to terminate request flows with response_node or redirect_node.
  • Reading missing fields without null checks in downstream expressions.