🎉 Celebrate with 10% OFF on All Products! Use Code: GFEX10 Or Buy Any 2+ Items for 30% OFF with Code: GFEX30!

Gravity Forms SendPulse Premium Add-on Setup Guide

Updated 7 min read Gravity Forms Integrations A–Z
On this page
  1. Video walkthrough
  2. What you need
  3. Step 1: install and activate
  4. Step 2: save your API ID and secret
  5. Step 3: add a feed to a form
  6. Address book
  7. Opt-in
  8. Map fields
  9. Variables
  10. Automation
  11. Conditional logic
  12. What happens on every submission
  13. Security and privacy
  14. For developers
  15. Troubleshooting
  16. Frequently asked questions
  17. Does the add-on need a paid SendPulse plan?
  18. Can I send to several address books from one form?
  19. Does it import the people who already filled in the form?
  20. Does it create the variables in my address book?
  21. Does it add tags?
  22. Which Gravity Forms versions does it support?

Video walkthrough

Gravity Forms SendPulse Add-On Setup Guide: API ID, Secret and Feed (WordPress Side)
Video setup guide: Gravity Forms SendPulse Watch on YouTube

The Gravity Forms SendPulse Premium Add-on adds the person who submits a Gravity Forms form to an address book in your SendPulse account. You keep your own form, your own design and your own fields. The add-on sends the contact to SendPulse from your server with your own API ID and secret, together with the variables you choose, and it can start an Automation 360 event for the new contact.

What you need

  • WordPress 6.5 or newer and PHP 7.4 or newer.
  • Gravity Forms 2.9 or newer. The add-on is tested with Gravity Forms 3.1.2 on PHP 8.3 and Gravity Forms 2.9.8 on PHP 7.4.
  • A SendPulse account with at least one address book, and an API ID and secret.
  • A GravityExtra license key for the add-on.

Nothing goes through GravityExtra. Contacts are sent from your server straight to SendPulse. The add-on uses the SendPulse REST API: it asks for an access token with the client credentials of your account (the token is valid for one hour and is kept encrypted until it expires), and then it adds the contact to the address book with one call.

Step 1: install and activate

  1. Upload and activate the add-on in Plugins.
  2. Open Forms → Settings → SendPulse.
  3. Enter your license key and press Activate License. Without an active license nobody is added to SendPulse.

Step 2: save your API ID and secret

In SendPulse open the account settings, go to the API section and copy the ID and the Secret. Paste them into API ID and API secret in the add-on settings and save. The secret is encrypted with AES-256-GCM before it is saved, with a key made from your site’s own salts, so a copy of the database alone cannot read it. It is never shown again: the field stays empty, and leaving it empty when you save keeps the stored secret.

After saving, the Connection line shows whether SendPulse accepted the credentials and how many address books it found. If it says Not connected, the message tells you why, most often that the ID or the secret is wrong.

The SendPulse settings screen in Gravity Forms: the license box and the SendPulse account section with the API ID, an encrypted API secret field and the connection status showing two address books found
The add-on settings: your own API ID and secret, stored encrypted, and the connection status.

Step 3: add a feed to a form

  1. Open the form and go to Settings → SendPulse.
  2. Press Add New.
  3. Give the feed a name, for example Newsletter subscribers.
  4. Choose the address book, the opt-in, map the fields, add the variables, set the conditions and save.

A form can have several feeds. Typical setups are one feed per address book, one feed for the newsletter and one for a customer book, or one feed that starts an automation for people who tick a box. Switch a feed off in the list when you do not need it.

Address book

The feed shows your address books by name. They are read from SendPulse and kept for five minutes. If the books cannot be read, for example because the credentials are not saved yet, the box turns into a text field where you can paste the address book ID. The ID can be a merge tag from a hidden field, so one form can send to a different book depending on an answer.

Opt-in

  • Single opt-in adds the contact at once. Use it when the form itself is the consent.
  • Double opt-in makes SendPulse send a confirmation email to the person from the sender address you give. You also choose the language of that email (English, Russian, Ukrainian, Turkish, Spanish or Portuguese) and, if you want, the ID of your own confirmation template. The sender address must already be confirmed in your SendPulse account.

Map fields

Email is required. Name and Phone fill the standard Name and Phone variables of the address book. A Name field with first and last parts is sent as the full name.

Variables

Every address book in SendPulse has variables, such as Name, Phone or your own Company and City. In the Variables table write the name of the variable on the left and choose the form field, or type text with merge tags, on the right. The add-on reads the variables of the book and keeps their types:

  • A number variable receives a number. Spaces and a decimal comma are fixed, and a value that is not a number is left out.
  • A date variable receives a date written as year, month and day. A value that is not a date is left out.
  • A text variable receives the text, with HTML removed and cut to 300 characters.
  • A variable that the address book does not have is left out, and the entry note names it, so you see the typing mistake at once.
The SendPulse feed editor: the address book, the opt-in, the mapped email, name and phone fields, variables, an Automation 360 event name, and conditional logic
A feed: which address book and opt-in, which form fields fill the contact and its variables, which event, and the condition.

Automation

In SendPulse an automation can start when a contact joins an address book, and for many setups that is all you need: the add-on adds the contact and your automation takes over. If your Automation 360 flow starts on an event instead, type the event name in the feed. After the contact has been added, the add-on sends that event to SendPulse with the email, the phone and the variables, so the flow starts for this person. Create the event first in SendPulse, in Automation 360, Events Manager. If the event fails, the entry note says so; the contact stays in the address book and the event is not repeated.

Conditional logic

Turn on conditional logic when only some entries should be sent, for example only people who ticked Send me your newsletter. The feed runs only when the rules match.

What happens on every submission

  • The add-on checks the license and that the entry was not already sent for this feed.
  • It gets an access token, from the cache if one is still valid.
  • It adds the contact with its variables to the address book. A contact that is already in the book is not duplicated.
  • It writes a note on the entry with the masked email, the address book, the number of variables and what was left out. Failures are written as notes too.
  • It marks the entry as done for this feed, so a second run, for example from a payment add-on that delays feeds, adds nobody twice.

A failed call never blocks the form and never shows an error to the visitor. The add-on does not retry on its own, because a second attempt could add the same person twice; the note tells you the reason.

A Gravity Forms entry screen with notes that say the contact was added to a SendPulse address book, with a masked email, the number of variables and the automation event
Every submission is written to the entry as a note, with the email masked.

Security and privacy

  • The API secret and the cached access token are stored encrypted. If your server has no OpenSSL with AES-256-GCM, nothing is stored and the settings screen says so.
  • Requests use HTTPS with certificate checks on.
  • Emails are masked in entry notes.
  • Uninstalling the add-on removes its settings, including the encrypted secret. Entries and their notes stay.

Submitting the form gives a name, an email address and the fields you map to SendPulse. Tell people on the form where their details go, and add a consent box where your country requires one.

For developers

  • The filter gfsendpulse_contact changes the contact before it is sent: email, variables, opt-in, sender email, language and template ID.
  • The filter gfsendpulse_request_args changes the request arguments, for example a longer timeout.

Troubleshooting

  • Not connected: HTTP 400 or 401. The API ID or the secret is wrong. Copy both again from the API section of your SendPulse account, and paste the secret into the empty field.
  • The address book list is a text box. The books could not be read. Check the connection line in the add-on settings, then reload the feed.
  • The note says a variable was left out. Create the variable in the address book, or fix the spelling in the feed. Names are matched without regard to capital letters.
  • Double opt-in failed. The sender address must be confirmed in your SendPulse account, and the feed needs a valid sender email.
  • HTTP 403 about the plan. Your SendPulse plan does not allow that call. Check the limits of the plan in your account.
  • HTTP 429. SendPulse limits how many requests a second account may make. The contact was not added; the note says so.

Every one of these messages appears in the entry notes of the submission, so you do not need to read a log file.

Frequently asked questions

Does the add-on need a paid SendPulse plan?

It works with any plan that gives you API access. The limits of your plan, such as the number of contacts or access to tags, apply as usual.

Can I send to several address books from one form?

Yes. Add one feed per address book and give each its own condition if only some people should go to each.

Does it import the people who already filled in the form?

No. A feed runs when a new entry is saved. Old entries are not sent.

Does it create the variables in my address book?

No. Create the variables in SendPulse first. A variable that is not found is left out and named in the entry note.

Does it add tags?

Not in version 1.0.0. SendPulse tags are identified by number and need a higher plan. Use a variable or an automation event instead.

Which Gravity Forms versions does it support?

Gravity Forms 2.9 and newer. It is tested with Gravity Forms 3.1.2 on PHP 8.3 and Gravity Forms 2.9.8 on PHP 7.4.

See the SendPulse add-on

Still need help?

Our support team answers tickets every day, usually within a few hours.

0
0
Your Cart
Your cart is emptyReturn to Shop
🔥 FREQUENTLY BOUGHT TOGETHER
Complete Combo & Save 40%!
ITEM IN YOUR CART
Gravity Forms Klaviyo Add-on
$39.00/yr
+
🎁 RECOMMENDED ADD-ON SAVE 40% OFF
Original Price: $39.00/yr
Bundle Special Price: $23.40/yr