PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Send notification hook for using with Gravity Forms Mass Import plugin?

  1. Is there a hook or filter I can use to tell Gravity forms to send out a notification for entries created with the Gravity Forms Mass Import plugin? I know you guys didn't create this plugin, so I am modifying it myself to try and get it to send out notifications when a record imported. The problem is I don't know where the notifications are created in Gravity Forms.

    In the developer docs ( there are lots of filters for modifying the notification object, but none that I can see that trigger the notification. Anything you can share about how to trigger that notification would be greatly appreciated.

    Posted 11 years ago on Monday February 11, 2013 | Permalink
  2. I think the trigger needs to come from the mass import plugin. I think that plugin works by inserting entries direct to the database, so none of the Gravity Forms code is run. I'm not familiar with that plugin enough to know if that is the case for sure.

    If you're modifying that plugin, you could copy the code that Gravity Forms uses and send your own notification if you wanted, or write some simple code to duplicate the functions in Gravity Forms which send the email. In common.php there are two functions:

    public static function send_user_notification($form, $lead, $override_options = false){
    public static function send_admin_notification($form, $lead, $override_options = false){

    I'm not sure if you can call those functions directly, or if you can copy them and use them in your modified plugin.

    Posted 11 years ago on Thursday February 14, 2013 | Permalink