The gravityflowformconnector_post_new_entry action allows customization to occur immediately after the new entry has been created by the form connector extension.


Parameter Type Definition
$entry_id Integer The newly created entry ID.
$entry Array The entry for which the step was processed.
$form Array The form for which the entry was submitted.
$step Object The current step


Example 1 - Add custom meta to new entry

add_action( 'gravityflowformconnector_post_new_entry', 'jo_fc_post_new_entry', 10, 4 );
function jo_fc_post_new_entry( $new_entry_id, $entry, $form, $step ) {
     if ( $step->get_id() == '95' ) {
          //Add custom meta value to the newly created entry
          gform_add_meta( $new_entry_id, 'my_test_key', 'This is test data.', $form['id'] );


This code should be placed in the functions.php file of your active theme or in a custom functions plugin.