Join the Webstudio community

Updated 3 months ago

Webhook form doesn´t work with action

At a glance

The community member has a webhook form that works with email, but when they enter a webhook URL into the action field, it goes into an error state. They don't understand why. Another community member tested the webhook with Make.com and it worked fine, but the original poster is using Directus CMS and its built-in flows, and the webhook doesn't work when they put the Directus link into the action field. They shared a link to test, but it's their own webhook. The community members discuss the possibility of creating an e-commerce template, and the need for authentication in an e-commerce system. Eventually, the original poster realizes they had a "get" webhook instead of a "post" webhook, which was the cause of the issue.

Useful resources
I have a webhook form that works with the email.
But when I enter a webhook url into the action field, then it goes into the error state.
I don´t understand why.
M
c
O
19 comments
What is the problem? I tested it with the webhook frome Make.com and it's work fine. Could you share a screenshot or a link?
Sure, I am using directus as a cms. They have built in flows (automations). So I take their link and put it into "action". I publlish and test. Dosn´t work.
Here´s the link:
https://mdo-izmey6.wstd.io/
To test, go to the 4th item in the menu.
Add something to cart, go to the cart, click checkout. There you fill in the data and click submit.
Ok

thanks.

Would it be possible to have s share link please?

One way to test is to use this website: https://webhook.site/#!/view/b3ebf8c9-3d79-4604-a428-b2d9b162215b

Test with their webhook in order to see if it's ok. After we will go deeper
(BTW it's really nice to see it's possible to make some e-commerce with WS !!!)
Oh, it´s my webhook 🙂
Yes, it´s deffinetly possible and I think about making a template
How do you manage the checkout with authentification ?
There is no auth yet
But I believe it´s just some api calls
Or what do you mean?
If I buy something on your site I need to create an account (like other ecommerce plateforme)
No need to make an account on my store
You just send your data and get a costum offer
Oh I now know what I messed up:
I got a "get" webhook instead of "post"
All right! I think the WS Team want to go further with the e-commerce integration and find a way to have a frontend who works with Auth
That would make my work much easier 😄
@cramses. if you actually want to get help, you need to show everything you do. Share reproducible example, share documentation of that action etc.

You can have made mistakes in different points, including using a non web hook url and we wouldn't know because you didn't share anything at all.
Add a reply
Sign up and join the conversation on Discord