Greetings Everyone,
We are trying to use webhooks in our project to send membership data to an Express/MongoDB backend. We created the webhook and used the trigger “memberships_user_account_added” so that it would fire off when a new user signs on to the site. Nothing happens when we sign up. We don’t receive any information at our endpoint: https://localhost:3000/api/users. How do we get information back from a webhook without using a service like airtable? Thanks!
Hahaha, that made me laugh a bit, I’ve tried that before, long ago. Good memories.
Here, a webhook is a mechanism where Webflow’s servers POST a package of JSON to an internet address you specify, any time a specified event happens. That internet address has to be accessible on the Internet in order for Webflow’s systems to reach it.
Localhost isn’t an internet address, it’s a reference to your personal computer, and is only accessible from your personal computer.
If you’re building an application to receive those posts, you’ll need to host that app somewhere on the Internet, or get a static IP for your system and set up your network to route inbound requests properly.
For what you’re doing though, you might just use an intermediary automation platform to do the post. For work like this, where you’re doing data transforms, I prefer pipedream and n8n, since they have solid scripting models fundamentally to the flow.