Langflow icon

Langflow

Call a Langflow HTTP API endpoint

Langflow

AI-generated

Summary

Send a chat message to a specified Langflow flow by calling its HTTP API run endpoint, then extract and return a specific field from the JSON response based on a configurable dot-notated path.

Inputs

  • Base URL (required) — The base URL of the Langflow run endpoint, without a trailing slash, where the flow ID will be appended.
  • Flow ID (required) — The identifier of the Langflow flow to execute.
  • Session ID (required) — The session or tenant identifier to include in the request.
  • Message (required) — The chat message text to send as input to the flow.
  • Response Field Path (required) — A dot notation path to extract a specific field from the JSON response returned by Langflow.

Output shape

A single JSON object containing two fields: 'data', the extracted response field as specified by the Response Field Path, and 'raw', the full JSON response from Langflow.

The output is an array with one object ({json: {data: ..., raw: ...}}). If the Response Field Path does not resolve to a valid field, the 'data' field will be undefined. No pagination or error envelopes are used in this operation.

Discussion