Send user notifications after csv import entries

I user WP All Import Gravity Forms Add-On to create new GF entries. In the Gravity Form where the entries are created I have set up (scheduled) notifications. Unfortunately notifications are not sent/scheduled during or after import, because it’s not a feature in the WPAI add-on. They put the data directly in the database and I assume there is no real submission because of that. I would like to create a custom function to achieve that and asked WPAI for the right hook, but would anyone be so kind telling me what action/filter should be called upon in GF to create some sort of submission and send/schedule notifications? I know that it’s possible, because GravityImport plugin has an option to send notifications for each imported entry.

Assuming WP All Import gives you a hook after each entry is created, you can use that to manually trigger Gravity Forms notifications. To trigger notifications after the entries are imported, you can write a custom function that uses the GFAPI::send_notifications() method to send notifications after import.

You could also use the GravityImport add-on from GravityKit, which has a setting for sending notifications after import: How to trigger notifications for imported entries - GravityKit Support, Knowledge Base, How-To & Docs

That document also shows how to send notifications using the bulk Resend Notifications action after entries have been imported.

As for the scheduling, you might check with GravityKit to see if the add-ons import process supports adding the entry to the scheduled notifications. Which add-on are you using to schedule notifications?