# Send data from Gravity Form on each form step

**URL:** <https://community.hubspot.com/t/send-data-from-gravity-form-on-each-form-step/47275>\
**Category:** Lead Capture Tools\
**Tags:** forms\
**Created:** [November 19, 2021, 4:16pm UTC](https://community.hubspot.com/t/send-data-from-gravity-form-on-each-form-step/47275 "2021-11-19T16:16:18Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![dmytro](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dmytro/32/97852_2.png) [@dmytro](https://community.hubspot.com/u/dmytro)\
**Post date:** [November 19, 2021, 4:16pm UTC](https://community.hubspot.com/t/send-data-from-gravity-form-on-each-form-step/47275/1 "2021-11-19T16:16:18Z")

</div>

Hello

I use the WP Gravity Forms plugin and I need to send data on each step of the multistep form. At least I want to send name and email from the first form step and after, if the user finished form I want to send data again to the HS

The question is: is it possible to send data from Gravity Form to HS on each form step. If so, how can I configure sending?

Thanks

---

<div class="post-metadata">

**Author:** ![TitiCuisset](https://avatars.discourse-cdn.com/v4/letter/t/8baadc/32.png) [@TitiCuisset](https://community.hubspot.com/u/TitiCuisset)\
**Post date:** [November 22, 2021, 11:10am UTC](https://community.hubspot.com/t/send-data-from-gravity-form-on-each-form-step/47275/2 "2021-11-22T11:10:46Z")

</div>

Hi @dmytro

Thank you for reaching out.

I want to tag some of our experts on this - @tjoyce [@Mike\_Eastwood](https://community.hubspot.com/t5/user/viewprofilepage/user-id/9259) [@Jake\_Lett](https://community.hubspot.com/t5/user/viewprofilepage/user-id/72866) @Kevin-C do you know if that’s something possible and how to do it?

Thank you!

Best

Tiphaine

---

<div class="post-metadata">

**Author:** ![Mike\_Eastwood](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/mike_eastwood/32/70075_2.png) [@Mike\_Eastwood](https://community.hubspot.com/u/Mike_Eastwood)\
**Post date:** [November 22, 2021, 9:23pm UTC](https://community.hubspot.com/t/send-data-from-gravity-form-on-each-form-step/47275/3 "2021-11-22T21:23:27Z")

</div>

Hi @dmytro

It’s possible to [“hook” the multi-page Gravity form](https://docs.gravityforms.com/gform_post_paging/) and push the information into HubSpot using the [HubSpot API](https://legacydocs.hubspot.com/docs/overview).

Unfortunately, if you’re _not_ a geek then nothing I just said will make any sense.

You will need custom code to achieve what you want.

Please send me a message if you need someone to build something for you.

Cheers

Mike

p.s. have you played with the [Gravity Form HubSpot Plugin](https://www.gravityforms.com/add-ons/hubspot/)?

---

<div class="post-metadata">

**Author:** ![dmytro](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dmytro/32/97852_2.png) [@dmytro](https://community.hubspot.com/u/dmytro)\
**Post date:** [November 23, 2021, 9:11am UTC](https://community.hubspot.com/t/send-data-from-gravity-form-on-each-form-step/47275/4 "2021-11-23T09:11:03Z")

</div>

Hello [@Mike\_Eastwood](https://community.hubspot.com/t5/user/viewprofilepage/user-id/9259)

Thanks, I’ll try this option with API

---

<div class="post-metadata">

**Author:** ![dmytro](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dmytro/32/97852_2.png) [@dmytro](https://community.hubspot.com/u/dmytro)\
**Post date:** [November 23, 2021, 9:12am UTC](https://community.hubspot.com/t/send-data-from-gravity-form-on-each-form-step/47275/5 "2021-11-23T09:12:40Z")

</div>

I get this answer from GF support:

> I use the WP Gravity Forms plugin and I need to send data on each step of the multistep form. At least I want to send name and email from the first form step and after, if the user finished form I want to send data again to the HS
> 
> The question is: is it possible to send data from Gravity Form to HS on each form step. If so, how can I configure sending?
> 
> Thanks
> 
> * * *

For now, option a) works for me, but it’s not perfect. In this case, I have to split one huge multiform into a few smaller parts and send the name and the email from one form to another

---

<div class="post-metadata">

**Author:** ![dmytro](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dmytro/32/97852_2.png) [@dmytro](https://community.hubspot.com/u/dmytro)\
**Post date:** [December 20, 2021, 9:14am UTC](https://community.hubspot.com/t/send-data-from-gravity-form-on-each-form-step/47275/6 "2021-12-20T09:14:30Z")

</div>

Here is my solution: I installed the [Partial Entries addon](https://www.gravityforms.com/add-ons/partial-entries/) (Elite License Plan required). This addon can save entries to WP on each step. To send to the HS form on each step I added this code from [this link](http:// [gform\_partialentries\_post\_EVENT - Gravity Forms Documentation](https://docs.gravityforms.com/gform_partialentries_post_event/#h-4-trigger-hubspot-feeds))

```lia-code-sample
<?php

add_action( 'gform_partialentries_post_entry_saved', 'send_to_hubspot_on_partial_entry_saved', 10, 2 );
function send_to_hubspot_on_partial_entry_saved( $partial_entry, $form ) {
 GFCommon::log_debug( __METHOD__. '(): running.' );
 if ( function_exists( 'gf_hspot' ) ) {
 $partial_entry['status'] = 'partial';
 GFCommon::log_debug( __METHOD__. '(): trigger Hubspot for Partial Entry: ' . print_r( $partial_entry, true ) );
 gf_hspot()->maybe_process_feed( $partial_entry, $form );
 }
}

```

Note: this option allows to send data to HS on the very last step and one intermediate step
