Skip to content

Integrations

Send a Magic Link When a Form Is Submitted (WPForms…)

A form is usually the moment someone tells you who they are, so it is the natural place to hand them a way in. Magic Link's form-builder integrations (PRO) email a passwordless login link automatically whenever a chosen WPForms, Gravity Forms, or Fluent Forms form is submitted — using the email address in the submission. You pick which forms send links under Magic Link → Settings → Integrations → Form Builders; WPForms and Gravity Forms also expose a toggle inside the form builder itself.

PRO feature

The WPForms, Gravity Forms, and Fluent Forms integrations are part of Magic Link PRO — their code ships only in the PRO build (form-builder support landed around version 2.2.3–2.3.0). Each host form plugin must also be installed and active, and only installed builders appear in the settings.

Why this helps

  • "Request access" without manual work. Someone fills in a form asking for access to a resource, portal, or members' area — and receives a working login link straight away, instead of waiting for you to notice.
  • Event and webinar sign-ups. Attendees register, then get a link that puts them straight into the content on the day.
  • Return a customer to their account. A support or enquiry form can quietly hand someone a way back in, which is often the real reason they were writing.
  • Fewer "I can't log in" emails. The form they were already filling in becomes the fix.

The alternative is doing it by hand — reading the entry, finding the user, generating a link, pasting it into an email. That works for two people a week and fails at any real volume.

Important: the person needs an account

A magic link signs somebody in to an existing account. If the submitted email address does not belong to a user on your site, no link is sent.

This is deliberate — a form that created accounts for any address typed into it would be an open door. If you want people to get accounts automatically, look at Trusted domains, which does that for addresses on domains you approve.

  1. Go to Magic Link → Settings → Integrations.
  2. Find the Form Builders section. Only the builders you actually have installed appear here.
  3. Tick each form that should send a login link on submission.
  4. Save changes.

Nothing is enabled by default. A form only sends links once you tick it, so installing PRO never changes what your existing forms do.

Turning it on inside the form builder

If you would rather set this where you build the form:

  • WPForms — open the form, go to Settings → General, and switch on the Send a Magic Link toggle at the bottom of the General panel.
  • Gravity Forms — open the form, go to Settings, find the Magic Link section, and switch on Send a Magic Link.
  • Fluent Forms — use the central list under Magic Link → Settings → Integrations. Fluent Forms does not let other plugins add a toggle to its own builder, so the Magic Link settings screen is the place to enable it.

Either method works, and a form switched on in one place shows as enabled in the other — both write the same flag on the form.

Which email address is used

Magic Link looks for an email field in the submission and uses the first one it finds. If the form has no dedicated email field, it falls back to the first value that looks like an email address.

If a form collects more than one address — say a personal and a work address — the first email field wins. Put the address you want people signed in with first.

How to test it

  1. Make sure the email address you are testing with belongs to a real user on your site.
  2. Tick the form under Magic Link → Settings → Integrations, or in the builder.
  3. Submit the form normally from the front end.
  4. Check the inbox for the login email.
  5. Open the link in a private or incognito window — in your normal browser you are already logged in, so any link looks like it works.

If no email arrives

  • Check the address has an account. This is the most common cause by far. No account means no link, by design.
  • Check the form is ticked. Nothing is enabled by default.
  • Check the form has an email field. Without one, there is nothing to send to.
  • Check the Audit Log. Magic Link → Audit Log shows whether a link was generated and sent. No entry means the form did not trigger; an entry means the problem is email delivery.
  • Check your site sends email at all. Magic Link → Health verifies this.

Conclusion

Form-triggered magic links turn any WPForms, Gravity Forms, or Fluent Forms submission into an automatic, passwordless way back into an existing account — with no manual link-pasting. Enable it per form under Magic Link → Settings → Integrations → Form Builders, and remember that the address must already have an account. To create accounts from approved domains instead, see Trusted domains; to confirm links are firing, see Track logins with the Audit Log.

FAQs

Is form-submission login a free or PRO feature?

It is PRO. The WPForms, Gravity Forms, and Fluent Forms integrations ship only in the Magic Link PRO build (form-builder support landed around version 2.2.3–2.3.0). The matching form plugin must also be installed and active — only builders you actually have installed appear in the Form Builders settings.

Magic Link PRO integrates with WPForms, Gravity Forms, and Fluent Forms. You enable it per form under Magic Link → Settings → Integrations → Form Builders, which lists only the builders installed on your site. WPForms and Gravity Forms additionally offer a Send a Magic Link toggle inside their own form builder.

What happens if the submitted email has no account?

No link is sent. A magic link signs a user in to an existing account, so an address with no matching user gets nothing — this is deliberate, to stop a public form from becoming an open door. To create accounts automatically for addresses on domains you approve, use Trusted domains instead.

Magic Link uses the first dedicated email field in the submission. If the form has no email field, it falls back to the first value that parses as an email address. When a form collects several addresses, the first email field wins, so place the address you want people signed in with first.

Open Magic Link → Audit Log. If a link was generated and sent, there is an entry for it; if there is no entry, the form did not trigger the integration — recheck that the form is ticked and has an email field. If an entry exists but no email arrived, the issue is email delivery, which Magic Link → Health helps diagnose.

Was this page helpful?