Webhook Automations

How to Send an Email Automatically When a Webhook Is Received

You can use Zapify to automatically send an email whenever an external service delivers a webhook to your WordPress website.

For example, you can get notified when Stripe or Paddle sends a payment event, when a third-party service posts a status update, or when a script of your own sends data to Zapify.

Instead of building a notification for every external tool separately, Zapify can send the email automatically whenever the webhook arrives.

What Does This Automation Do?

This automation uses:

  • Trigger: A webhook is received
  • Action: Send an email

The trigger tells Zapify when the automation should start.

When a webhook is delivered to the URL Zapify generates for this trigger, Zapify automatically sends the configured email.

See Webhooks for how incoming webhooks, sources and signature verification work in more detail.

Why Use This Automation?

This automation can be useful when you want to:

  • Get notified the moment an external service sends you data.
  • Turn any service that can POST JSON into a notification source, without needing native integration.
  • Keep a human in the loop for events that come from outside WordPress.
  • Confirm that an external integration is actually delivering webhooks.
  • Avoid building a custom notification handler for every third-party tool.

Who Can Use This Automation?

This automation can be useful for:

  • WordPress website owners integrating with services like Stripe, Paddle, or GitHub.
  • Developers testing their own scripts or webhook sources.
  • Businesses that want a notification for events happening outside their website.
  • Agencies connecting client sites to external tools that support webhooks.
  • Anyone who wants an email as a simple first step before building more advanced automations.

How to Create This Automation

Step 1: Create a New Automation

Go to Zapify and create a new automation.

Give your automation a name that makes it easy to understand.

For example:

Notify Team When a Webhook Is Received

Create a new automation

Click Create to continue.


Step 2: Add the Trigger

Click Add Trigger.

Add a trigger

Select Webhooks as the trigger app.

Select WebHooks

Select:

A webhook is received

Select A Webhook is Recived

This tells Zapify to start the automation whenever a webhook arrives at the generated URL.


Step 3: Configure the Webhook Trigger

Zapify generates a unique URL for this trigger, with a long random key built in. Treat this URL as a credential — anyone who has it can send data to this automation.

Copy the URL and add it to the external service that should send the webhook. If you are not sure what the service will send, use Listen mode to capture a real delivery and build the token list from it automatically. See Webhooks for details on sources, signatures and deduplication.

Make sure the webhook URL is correctly added to the sending service before continuing.


Step 4: Add the Action

Once the trigger is configured, click Add Action.

Add an action

Select Wordpress as the action app.

Select WordPress as the action

Select:

Send an email

Select Send an email

This tells Zapify what should happen after the webhook is received.


Step 5: Configure the Email

Configure the email you want Zapify to send.

Edit the Send an email action

Choose who should receive the notification and enter the email subject and message.

For example:

To: Your team

Subject: Webhook received

Message:

A webhook was just received on your website.

Please review the details below.

You can use the {} token button to include fields from the webhook payload, such as any values captured during Listen mode.

Select the email recipient

Configure the email according to your needs.

Complete the Send an Email Action


Step 6: Set the Automation Live

Once everything is configured, click Set Live at the top.

Set the automation live

A newly created automation is initially a Draft.

The automation will only start working after you set it live.


How to Test the Automation

To test the automation:

  1. Send a test webhook to the generated URL — either from the external service, or using a tool that can POST JSON.
  2. Wait for the automation to run.
  3. Check the configured email recipient's inbox.
  4. If the automation does not run, check Zapify → Logs to see whether the delivery arrived and why it did or did not continue.

If the automation is active and the webhook was received, Zapify should send the configured email.


Simple Example

Imagine you have a script that should notify your team whenever it finishes an overnight job.

The script sends a POST request with a JSON body to the webhook URL Zapify generated.

Zapify receives the webhook and automatically sends an email to your team.

The workflow is:

Webhook is received → Zapify detects the delivery → Email is sent

Your team is notified without the script needing to know anything about email or WordPress.


Other Ways You Can Use This Automation

You can use this automation for many different external sources.

For example:

Webhook received from Stripe → Notify the finance team

Webhook received from GitHub → Notify a developer

Webhook received from a custom script → Notify the site owner

Webhook received from Zapier → Notify the relevant team

You can customize the email according to your workflow, or use the received data to drive other actions instead of, or alongside, an email.


Frequently Asked Questions

Can Zapify send an email when any webhook is received?

Yes. The A webhook is received trigger starts the automation whenever a webhook arrives at the generated URL for that trigger.

Can I use the same webhook URL for more than one automation?

Not for the same trigger — but you can use sources to have one URL feed multiple automations, each selecting itself based on the payload. See Webhooks for details.

Is the webhook URL secure?

The URL includes a long random key, and Zapify supports several authentication schemes including signature verification for common providers. Treat the URL itself as a credential.

Can I include data from the webhook payload in the email?

Yes. Use Listen mode to capture a real delivery, then use the available {} tokens to include specific fields from that payload in your email.

What happens if the same webhook is delivered twice?

Zapify records a deduplication key per delivery, so the automation runs once even if the same delivery arrives more than once.

Do I need to write any code?

No. Setting up the trigger and the email action does not require code. You will need whatever external service is sending the webhook to support sending a POST request with JSON.


Summary

With Zapify, you can automatically send an email whenever a webhook is received from an external service.

The setup is simple:

A webhook is received → Send an email

This turns any service capable of sending a webhook into a source of notifications for your team, without building custom integration code.

Once the automation is set live, Zapify handles the notification automatically.

Was this page helpful?

Previous
How to Send an Email Automatically When a Fluent Forms Form Is Submitted