Replies: 2 comments 4 replies
-
Hey there, @taazkareem1! I'm here to help you solve bugs, answer questions, and become a contributor. Let's work through this together while we wait for a human maintainer. I found a similar open issue that might help you: If I want to execute a flow using a webhook in the form of a curl command, how should I do it?. The suggested solution is to use a To execute a flow using a webhook, you can use the following curl -X 'POST' \
'http://<your_server>/run/{flow_id}' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY' \
-d '{
"input_value": "Sample input",
"input_type": "chat",
"output_type": "chat",
"tweaks": {}
}' If you have defined the Data field of the WebhookComponent, you can use this command: curl -X POST \
"https://langflow.yamon.io/api/v1/webhook/8d769a67a" \
-H 'Content-Type: application/json' \
-H 'x-api-key: <your api key>' \
-d '{
"session_id": "12345",
"sender_name": "John",
"input_value": "hello"
}' Regarding the issue of not seeing the flow start on the Langflow front end after receiving a "Task started in the background" response, here are some possible reasons:
For handling base64 encoded images in webhook payloads, Langflow uses the Regarding the invalid bearer token issue on the cloud version, ensure that the token is not expired, malformed, or missing. The token should be included in the {
"name": "Authorization",
"value": "Bearer YOUR_BEARER_TOKEN"
} Common issues include token expiry, invalidity, missing token, or incorrect token type [5]. |
Beta Was this translation helpful? Give feedback.
-
hi, how to integrate langflow with chatwoot using webhook, thanks |
Beta Was this translation helpful? Give feedback.
-
Hey all. I am having a problem with starting my flow from a webhook locally. I'm basically sending a base64 encoded image in the payload to the webhook like this:
I send the request and get a response like this:
which indicates that the flow has started. But why don't I actually see the flow starting on the Langflow front end? It seems like I don't get any type of response after that other than the "in progress". Is there any more information on how to set up the webhook. What am I missing?
Also I tried on the cloud version of Langflow too but it just says invalid bearer token (even though I input a valid token)
Beta Was this translation helpful? Give feedback.
All reactions