Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Webhooks not working in Langflow Datastax #6020

Open
RaulFjk opened this issue Jan 30, 2025 · 1 comment
Open

Webhooks not working in Langflow Datastax #6020

RaulFjk opened this issue Jan 30, 2025 · 1 comment
Labels
question Further information is requested

Comments

@RaulFjk
Copy link

RaulFjk commented Jan 30, 2025

Hi,

Do webhooks function in the Langflow cloud version from Datastax? I am trying to call a webhook component but it does not work. I've tried to also send the authorization header but still nothing. There were also others reporting on this issue but apparently nobody got the solution until now. Can anybody tell me if the webhooks on the cloud version are working or give me the steps for setting everything up?

Thanks!

Copy link

dosubot bot commented Jan 30, 2025

Hey there, @RaulFjk! I'm here to help you out with any bugs or questions you have. If you need assistance, feel free to ask!

I found a similar unsolved discussion titled "Webhook doesn't work" which might be relevant to your issue [1].

For implementing webhooks in Langflow's cloud version, you can use the /webhook endpoint to trigger flow execution with an HTTP POST request. Here's an example using curl:

curl -X POST \
  "$LANGFLOW_URL/api/v1/webhook/$FLOW_ID" \
  -H "Content-Type: application/json" \
  -d '{"path": "/tmp/test_file.txt"}'

This request should start the task in the background, as indicated by the response:

{
  "message": "Task started in the background",
  "status": "in progress"
}

If you're having issues with the authorization header, ensure that it's correctly formatted and that your credentials are valid. Unfortunately, I couldn't find specific details on authorization headers or known issues with webhooks in the Langflow cloud version.

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other

@dosubot dosubot bot added the question Further information is requested label Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant