Skip to content

Forms Integrations

Send an Email When a Ninja Forms Form Is Submitted

You want an email to go out automatically whenever someone submits a Ninja Forms form — a new enquiry to your team, a copy to the site owner — without checking submissions manually. Zapify does this with the A form is submitted trigger and the Send an email action. Ninja Forms is a Zapify PRO integration.

What this automation does

The automation is one trigger plus one action:

  • Trigger: A form is submitted (NINJAFORMS_FORM_SUBMITTED)
  • Action: Send an email (WP_SEND_EMAIL)

When a visitor submits the Ninja Forms form you choose, Zapify fills the email's tokens with the submitted values and sends it.

Zapify listens on Ninja Forms' ninja_forms_after_submission signal, once the submission has been saved.

Before you start

  • Ninja Forms must be installed and active. Zapify reads your forms directly from it.
  • Zapify PRO must be active, since Ninja Forms is a PRO integration.
  • You need at least one published Ninja Forms form.

PRO feature

Ninja Forms (ninja-forms) is a Zapify PRO integration. The trigger requires an active PRO licence.

How to build the automation

Step 1: Create a new automation

  1. In the WordPress admin, go to Zapify → Automations.
  2. Click Add New to open the builder.
  3. Give the automation a clear name, such as Notify team on Ninja Forms submission.

Create a new automation

Step 2: Add the "A form is submitted" trigger

  1. Click Add Trigger.

Add a trigger

  1. Choose Ninja Forms as the app.

Select Ninks Forms

  1. Select the trigger A form is submitted.

Select A Form is Submitted

  1. In the trigger's Form field, pick the specific form that should start the automation, or leave it on Any form.

Choosing a specific form is what exposes one token per field on that form. If you leave the form set to Any form, the automation runs for every Ninja Forms form but only the general tokens are available, because the fields are not known until a submission arrives.

Step 3: Add the "Send an email" action

  1. Click Add Action.

Add an action

  1. Choose WordPress as the app.

Select WordPress as the action

  1. Select Send an email.

Select Send an email

Step 4: Configure the email

Edit the Send an email action

Fill in the email fields. Use the {} token button beside any field to insert values from the submission.

Select the email recipient

Field Required What it does
To Yes Recipient address. Comma-separate several, or insert a token — for example the submitter's email field.
Subject Yes The subject line.
Format Yes HTML (default) or Plain text.
Body Yes The message. Insert tokens to include submitted values.
Cc / Bcc No Extra recipients.
From name / From email No Override the sender.
Reply to No Set where replies go — often the submitter's email.

For example:

  • To: sales@example.com
  • Subject: New Ninja Forms submission — {{trigger:FORM_TITLE}}
  • Body: A new form submission has been received: followed by the All fields token, or individual field tokens.

Complete the Send an Email Action

Step 5: Set the steps Live and save

  1. Set both the trigger and the action to Live.
  2. Click Save.

Set the automation live

Form-field tokens you can use

Once you select a specific Ninja Forms form, the trigger exposes these tokens. Insert them anywhere in the email with the {} button.

Token What it holds
Form ID The numeric ID of the submitted form.
Form title The form's name.
Submitted at The date and time of the submission.
All fields Every submitted field rendered as one labelled block.
One token per field The value the visitor entered in that field, labelled with the field's Ninja Forms label.

How to test it

  1. Open the page that contains your Ninja Forms form.
  2. Fill it in with test details and submit it.
  3. Check the recipient inbox for the email.
  4. If nothing arrives, open Zapify → Logs to see whether the run fired and what the action reported.

Conclusion

With the A form is submitted trigger and the Send an email action, Zapify emails you every time a Ninja Forms form is submitted, with the submitted values mapped straight into the message. See the same idea for Formidable Forms or the free Gravity Forms and WPForms integrations.

FAQs

Can I choose which Ninja Forms form triggers the automation?

Yes. Select the specific form in the trigger configuration, or leave it set to Any form.

Is this feature free?

No. Ninja Forms is a Zapify PRO integration, so the trigger requires an active PRO licence.

Can I include the submitted field values in the email?

Yes. The All fields token lists every field and value from the submission, or insert individual field tokens.

Does this replace Ninja Forms' own email notifications?

No, it runs alongside them. You can keep Ninja Forms' notifications, use Zapify's instead, or use both.

Why didn't the email send?

First confirm both the trigger and action are set to Live and the automation is saved. Then check Zapify → Logs for the run. If the run succeeded but no email arrived, the issue is usually the site's mail configuration; an SMTP plugin resolves most delivery problems.

Do I need to write any code?

No. This automation is configured entirely through Zapify's trigger and action settings.

Was this page helpful?