# Test webhooks in n8n without changing WEBHOOK_URL with PostBin: n8n workflow

> Started by an event in a connected app, and works across Slack. It hands the judgement calls to OpenAI.

Source: https://millionrounds.com/workflow/test-webhooks-in-n8n-without-changing-webhook-url-with-postb (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Content](https://millionrounds.com/workflows?category=Content#library)

# Test webhooks in n8n without changing WEBHOOK_URL with PostBin

Started by an event in a connected app, and works across Slack. It hands the judgement calls to OpenAI. 34 steps, 1 loop or waits: large, and worth reading before you trust it with anything live.

Large Calls a model: OpenAI

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Ftest-webhooks-in-n8n-without-changing-webhook-url-with-postb)

**34 steps** Large: read it before trusting it with anything live

**0** Branches: places the flow splits

**1** Loop or waits

**1** Service it connects to

## The flow

Starts it 1 Model 5 Logic 13 Service 15

The steps in the order they run, from what starts it.

- 1 **When clicking ‘Test workflow’** Manual trigger *Starts it*
- 2 **Create Bin** Http Request *Service*
- 3 **MOCK request** Post Bin *Service*
- 4 **OpenAI Chat Model** Lm Chat Open Ai *Model*
- 5 **OpenAI Chat Model1** Lm Chat Open Ai *Model*
- 6 **Structured Output Parser** Output Parser Structured *Model*
- 7 **DELETE BambooHR webhook** Http Request *Service*
- 8 **Create Bin1** Http Request *Service*
- 9 **SET BambooHR subdomain** Set *Logic*
- 10 **GET Bin** Post Bin *Service*
- 11 **Basic LLM Chain** Chain Llm *Model*
- 12 **Auto-fixing Output Parser** Output Parser Autofixing *Model*
- 13 **GET Bin1** Post Bin *Service*
- 14 **GET all possible fields to monitor in BambooHR** Http Request *Service*
- 15 **Format url for webhook** Set *Logic*
- 16 **Welcome employees on Slack** Slack *Service*
- 17 **Format url for webhook1** Set *Logic*
- 18 **Split out fields** Split Out *Logic*
- 19 **Register and test webhook** No Op *Logic*
- 20 **Merge** Merge *Logic*
- 21 **Keep only new employee fields** Filter *Logic*
- 22 **GET most recent request** Post Bin *Service*
- 23 **Format payload for BambooHR webhook** Set *Logic*
- 24 **Combine fields to monitor** Aggregate *Logic*
- 25 **Create webhook in BambooHR** Http Request *Service*
- 26 **Create dummy data for employees** Debug Helper *Service*
- 27 **Create employee records with dummy data** Bamboo Hr *Service*
- 28 **Wait 60 + 1 seconds for webhook to fire** Wait *Logic*
- 29 **Check BambooHR for calls to webhook** Http Request *Service*
- 30 **GET most recent request1** Post Bin *Service*
- 31 **Split out employees** Split Out *Logic*
- 32 **Format displayName** Set *Logic*
- 33 **Combine employees into list** Aggregate *Logic*
- 34 **Pluralize key** Rename Keys *Service*

## How it's built

- **Starts on:** An event in a connected app
- **Steps:** 34, 1 loop or waits
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Slack
- **Model:** OpenAI

## Questions

What does it need to run?

An n8n account, plus your own Slack account, and a key for OpenAI. You connect your own accounts after importing it; none are included.

What starts it?

It starts on an event in a connected app.

Does it use AI?

Yes. It calls OpenAI. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Take your time. At 34 steps it is large: read it before trusting it with anything live.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

**Before you run it**

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 34 steps before you point it at anything that matters.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Ftest-webhooks-in-n8n-without-changing-webhook-url-with-postb)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Connects to

Each opens the other workflows that use it.

[Slack](https://millionrounds.com/workflows?service=Slack#library)

## Workflows like it

Also content, with the same services where possible, closest in size first.

- [**Generate and publish SEO blog posts from Google Sheets to Webflow** 34 steps · calls a model · Discord, Google Sheets](https://millionrounds.com/workflow/generate-and-publish-seo-blog-posts-from-google-sheets-to-we)
- [**Ultimate content generator for WordPress with OpenAI** 34 steps · calls a model · Airtable, Slack](https://millionrounds.com/workflow/ultimate-content-generator-for-wordpress-with-openai)
- [**Create news anchor avatar videos from Slack with OpenAI** 33 steps · calls a model · Slack, n8n data table](https://millionrounds.com/workflow/create-news-anchor-avatar-videos-from-slack-with-openai)
- [**Repurpose YouTube videos into blogs and social posts** 35 steps · calls a model · LinkedIn, Notion](https://millionrounds.com/workflow/repurpose-youtube-videos-into-blogs-and-social-posts)
- [**Visual storytelling content factory: Gemini & Replicate AI** 33 steps · calls a model · Slack](https://millionrounds.com/workflow/visual-storytelling-content-factory-gemini-and-replicate-ai)
- [**AI video script generator:Distribution** 36 steps · Email, Slack](https://millionrounds.com/workflow/ai-video-script-generator-distribution)
