The Operator’s LabSearch guides

Make Slack Webhook Tutorial: Prevent Duplicate Lead Alerts

Use a Make custom webhook and a Data store to send one Slack alert per form submission, even when the webhook is retried.

Implementation guide. This walkthrough uses Make documentation and a synthetic example. Use a Make custom webhook to receive a form submission, a Data store to recognize retries and a Slack module to send one alert per submission. The example uses synthetic data and a Slack channel you control.

  • Make
  • Slack
A Make Router sending messages through separate Slack routes in the vendor’s example
Make · A Make Router sending messages through separate Slack routes in the vendor’s example. Official interface example

1. Capture a stable submission ID

Give each form submission an ID from the source system. Reuse that ID when a delivery is retried. Prefix it with the source when IDs are only unique within a form. Filter out requests with no ID and avoid including personal data in the Slack message.

2. Check the Data store before posting

Use the submission ID as the key. Add a check for whether the record already exists, and continue only when it does not. Turn on Process data in order in the scenario settings so two webhook runs from the same scenario cannot pass the check concurrently. Keep a single writer for that store in this setup.

3. Send to a test channel and record success

In the Slack action, choose a channel you control and include the submission ID in the message. After the Slack step succeeds, add the ID to the Data store. If Slack might have accepted a message before a failure prevented the record from being written, check the channel for the ID before replaying the run. Reconcile the store if the message is already present.

4. Test the retry and failure paths

Send a valid sample, send the same ID again, then send a different ID for a separate inquiry. Expect one alert for the original, none for the retry and one for the new submission. Test missing IDs and a rejected destination. Confirm where failed runs are logged before switching to a team’s live workflow.

Make webhook documentation · Make scenario settings · Make Slack integration · Email notification variant

Affiliate disclosure: The Operator’s Lab may earn a commission from qualifying purchases through the Make link below, at no additional cost to you.

Open Make to set up Slack notifications

One Slack alert per submission
1CaptureRead the webhook submission ID
2DeduplicateCheck the ID in the Data store
3NotifySend a Slack alert for new IDs
More in this topic