{"id":22031552,"url":"https://github.com/flow-ai/example-node-webhook","last_synced_at":"2025-03-23T11:27:32.040Z","repository":{"id":44177527,"uuid":"114647205","full_name":"flow-ai/example-node-webhook","owner":"flow-ai","description":"Flow.ai Node.js Webhook example","archived":false,"fork":false,"pushed_at":"2024-09-11T21:26:31.000Z","size":118,"stargazers_count":0,"open_issues_count":6,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-01-28T18:13:49.118Z","etag":null,"topics":["example"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/flow-ai.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-12-18T13:56:47.000Z","updated_at":"2024-06-29T12:44:45.000Z","dependencies_parsed_at":"2024-06-29T14:48:35.973Z","dependency_job_id":"4e203b12-476e-4ed2-8775-bbe88219f2e2","html_url":"https://github.com/flow-ai/example-node-webhook","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flow-ai%2Fexample-node-webhook","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flow-ai%2Fexample-node-webhook/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flow-ai%2Fexample-node-webhook/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flow-ai%2Fexample-node-webhook/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flow-ai","download_url":"https://codeload.github.com/flow-ai/example-node-webhook/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245094018,"owners_count":20559833,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["example"],"created_at":"2024-11-30T08:19:10.082Z","updated_at":"2025-03-23T11:27:32.011Z","avatar_url":"https://github.com/flow-ai.png","language":"JavaScript","readme":"# Flow.ai Node.js Webhook Example\n\n[Webhooks](https://docs.flow.ai/overview/code/webhook.html) are an integration method of Flow.ai based on a *we call you* principle.\n\n![](/assets/header.png)\n\n## Getting started\n\n### 1. Install [Node.js](https://nodejs.org)\n\n### 2. Clone this repo and install packages\n\n```bash\ngit clone https://github.com/flow-ai/example-node-webhook.git\ncd flowai-example-node-webhook\nnpm install\n```\n\n### 3. Run the webhook server\n\n```bash\nnpm start\n```\n\nThe server will run on http://localhost:3009 and print incoming webhooks.\n\n### 4. Deploy online or fire up a ngrok tunnel\n\n**Deploy to heroku**\n\n[![Deploy](https://www.herokucdn.com/deploy/button.png)](https://heroku.com/deploy)\n\n**Run a local [ngrok](https://ngrok.com/) tunnel**\n\n```bash\nngrok http -subdomain=inconshreveable 80\n```\n\nThis tells `ngrok` to tunnel all requests to `https://inconshreveable.ngrok.com` to your `localhost:3009`.\n\n### 5. Configure your webhook\n\nTo get started, go the the [Flow.ai dashboard](https://app.flow.ai/integrations) and create a new webhook integration.\n\nEnter the url of your webhook endpoint and press save.\n\n### 6. Receive calls\n\nNext, configure a flow with the [design app](https://app.flow.ai/design) that triggers an action. For the action select the webhook you just created.\n\nThat's really all it takes to start responding to webhook calls.\n\n## Further reading\n\nPlease view our [webhook documentation](https://flow.ai/docs/actions/webhook) for more info about the messages you receive and how to send messages back.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflow-ai%2Fexample-node-webhook","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflow-ai%2Fexample-node-webhook","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflow-ai%2Fexample-node-webhook/lists"}