Send form post data via api

Im trying to figure out how to get formdata to connect to an external api. The client fill in the form with name, e-mail, date of birth, and the prefered date and time for a phone therapy session. Also the client make the payments in the form.

I want to taket that information and connect it to a google calendar.
I also want to take that information and send it to Viatel, wich is a payment service for phonecalls and messegas. the do have an api.

Hi Morgan. There are quite a few ways to do that. The easiest is with our Webhooks add-on (requires and Elite license):

Another way is to use Zapier (or Zapier add-on is available to Pro or Elite license holders):

Once you have that add-on, you can look for a Zap to send the data to your external API:

Another way is to use this third-party plugin:

One more way: your own PHP code and the gform_after_submission hook:

Finally, there are some plugins created for specific integrations, like this one for Excel:

That is not specifically what you are looking for, but if you search online for Gravity Forms and your service you might find a purpose built plugin that will meet your needs.

If you have any other questions, please let us know.

Hi Chris,

Thanks for your answer. I will look in to your suggestions and se what i come up with. Do you have any custom coding service if i need help to accomplish this?

I have tried both Webhooks and Zapier but i can not get the values from the webform in to the external system.

Hi Morgan. We do not offer a custom coding service.

If you need assistance configuring the Webhooks add-on or Zapier add-on, you can open a support ticket: https://www.gravityforms.com/support/

If you would like to look into this further on your own, I recommend enabling logging, then testing the form with one of those add-ons to see what is going on:

Thanks, i have enabled logging and it helps a lot but i still do have problems connecting to the API.

If you contact support they should be able to help point you in the right direction. We can’t help configure connections to third party APIs but we can help you pinpoint where the error is occurring.

I have now managed to connect the webform via API to the external application.

In Gravity Forms Web Hook Add On i now have to flows:

#1 Creates the clients account in the system, this i have got to work. This is connected and the data is sent in to Viatel.

#2 This flows are set up to make the booking and send the booking in to the system. This is not working yet.

The system demands that the clients AccountID be sent in in flow #2 and this ID is something that is automaticaly created in flow #1

I need to get that AccountID from the external application, back to Gravity Forms and in to the second flow?

This is the returning answer from #1 flow:

<?xml version="1.0" encoding="ISO-8859-1"?> 10091627220 578641 100

After the first step is run and you have your AccountID you can use the gform_webhooks_post_request filter to put that AccountID somewhere useful:

© 2008 - 2019. Gravity Forms is a project by Rocketgenius Inc.