September 14, 2021 Migrated snippet to the Snippet Library.
August 7, 2015 Fixed issue where anonymous functions were causing fatal errors for older versions of PHP.
May 8, 2015 Added support for notification conditional logic on "manual" notifications. Thanks, hannanstd.
This simple snippet allows you to send notifications manually to users who have submitted your forms and provided an email.
- Email all users who submitted the form
Example: provide updates to users who signed up for your event
- Email any user who selected a specific value
Example: notify users that the option they selected for a product is no longer available
1. Install Snippet
The snippet will add support for the “Send Manually” notification event. By default there is only one notification event so Gravity Forms does not show the setting on the Notification edit screen; however, if you have more than one Notification Event, Gravity Forms will display the “Event” setting.
- Make sure Gravity Forms is installed and active.
Need a license? Buy Gravity Forms
- Copy and paste the entire snippet into your theme’s functions.php file.
Having trouble installing the snippet?.
- No code configuration required.
2. Create a New Notification
- Select “Send Manually” from the list of Notification Events
- Configure the notification as you would any other notification
3. Send Manual Notification
We will use Gravity Forms’ Resend Notifications feature to send our manual notification.
Send notifications for specific entries
Follow the steps above.
Send notifications for all entries with a specific option selected
There are two ways to accomplish this. You can add the conditional logic to the notification itself – or – you can filter the entries displayed in the Entry List view and only send to the filtered list.
Which is better? I prefer filtering from the Entry List view. It’s more flexible and allows you to more easily reuse the same manual notifications (when it makes sense).
- Follow the instructions above (starting from step #3) to send your manual notification to the selected entries.
With that said, if you find you need more complex filtering, the conditional logic setting on the notification will allow you to apply multiple filters which may be required for your use case.
Was this helpful?
We’d really love to hear how you use this functionality. Seriously, I’m not just saying that. Let us know in the comments!