# Using webhook to validate data in campaigns

**URL:** <https://forum.mautic.org/t/using-webhook-to-validate-data-in-campaigns/37081>\
**Category:** Mautic 6 Install/Upgrade Support\
**Tags:** campaigns, webhooks\
**Created:** [December 16, 2025, 10:54am UTC](https://forum.mautic.org/t/using-webhook-to-validate-data-in-campaigns/37081 "2025-12-16T10:54:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jeroenverschoor](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/jeroenverschoor/32/5772_2.png) [@jeroenverschoor](https://forum.mautic.org/u/jeroenverschoor)\
**Post date:** [December 16, 2025, 10:54am UTC](https://forum.mautic.org/t/using-webhook-to-validate-data-in-campaigns/37081/1 "2025-12-16T10:54:22Z")

</div>

I’m struggeling with using a webhook within a campaign to validate the email address before it is stored and used.  
I can add the Webhook, but is seems I cannot process data received from the webhook. For example: add a condition after the webhook so that we can decide what to do with the data returned from the webhook.

How can I add email validation, using an external webhook and preferred within a campaign, and filter out unwanted email addresses?

---

<div class="post-metadata">

**Author:** ![sandrovenezuela](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/sandrovenezuela/32/9241_2.png) [@sandrovenezuela](https://forum.mautic.org/u/sandrovenezuela)\
**Post date:** [December 16, 2025, 12:50pm UTC](https://forum.mautic.org/t/using-webhook-to-validate-data-in-campaigns/37081/2 "2025-12-16T12:50:23Z")

</div>

You will need to use N8N, or another similar tool, to receive the response and evaluate whether to mark the contact as “Do Not Contact” or not.

---

<div class="post-metadata">

**Author:** ![jeroenverschoor](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/jeroenverschoor/32/5772_2.png) [@jeroenverschoor](https://forum.mautic.org/u/jeroenverschoor)\
**Post date:** [December 16, 2025, 1:11pm UTC](https://forum.mautic.org/t/using-webhook-to-validate-data-in-campaigns/37081/3 "2025-12-16T13:11:54Z")

</div>

Hi Sandro,

thank you for your answer on my question asked.  
I’ve seen the possibilities of N8N and [Make.com](http://Make.com), but would love an option without using extra (paid) external toolings to process the respons of the webhook/API directly within Mautic.  
Doesn’t Mautic offer an option to directly process data received from Webhook (where possible directly from the campaigner)?

---

<div class="post-metadata">

**Author:** ![sandrovenezuela](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/sandrovenezuela/32/9241_2.png) [@sandrovenezuela](https://forum.mautic.org/u/sandrovenezuela)\
**Post date:** [December 16, 2025, 1:18pm UTC](https://forum.mautic.org/t/using-webhook-to-validate-data-in-campaigns/37081/4 "2025-12-16T13:18:32Z")

</div>

Hi,

Another option is to develop a plugin to handle the response.

I think it’s impossible to create a “universal” plugin, because each email verification tool will respond in a different way.
