Skip to content Node.js Webhook example
Branch: master
Clone or download
Latest commit 30e6fdc Dec 18, 2017
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE Initial commit Dec 18, 2017
Procfile Initial commit Dec 18, 2017 More info Dec 18, 2017
app.json Updated logo Dec 18, 2017
index.js Initial commit Dec 18, 2017
package.json Node.js Webhook Example

Webhooks are an integration method of based on a we call you principle.

Getting started

1. Install Node.js

2. Clone this repo and install packages

git clone
cd flowai-example-node-webhook
npm install

3. Run the webhook server

npm start

The server will run on http://localhost:3009 and print incoming webhooks.

4. Deploy online or fire up a ngrok tunnel

Deploy to heroku


Run a local ngrok tunnel

ngrok http -subdomain=inconshreveable 80

This tells ngrok to tunnel all requests to to your localhost:3009.

5. Configure your webhook

To get started, go the the dashboard and create a new webhook integration.

Enter the url of your webhook endpoint and press save.

6. Receive calls

Next, configure a flow with the design app that triggers an action. For the action select the webhook you just created.

That's really all it takes to start responding to webhook calls.

Further reading

Please view our webhook documentation for more info about the messages you receive and how to send messages back.

You can’t perform that action at this time.