We'll create fresh WordPress site with Gragrid: Gravity Forms + SendGrid installed. You have 20 minutes to test the plugin after that site we'll be deleted.
Integrate your Gravity Forms with SendGrid to send submissions with email fields to your contact lists.
You can customize the contact data sent to SendGrid in the entry submission context with this hook:
apply_filters( 'gragrid_contact_params', array $contact_params, array $entry, array $form )
$contact_params
(array): Contact parameters, includes first name, email, custom fields, etc.$entry
(array): The form entry that was just created.$form
(array): The current form, the origin of the submission.You can also customize the SendGrid API requests using the following hook:
apply_filters( 'gragrid_request_args', array $args, string $path )
$args
(array): Request arguments, includes headers, method, body, etc.$path
(string): The specific API endpoint being called.