Accelo API with Gravity Form

27 views
Skip to first unread message

Maria K

unread,
Mar 11, 2021, 11:17:18 AM3/11/21
to Accelo Developers
Hello,

I have been working on integrating Gravity Form with Accelo using Accelo API and the Gravity Form Webhooks add-on, and I have a few questions.

The attached shows my setup using Webhooks. All form fields populate correctly in an Accelo request except for the Attachment one. The Attachment field is using an input file type – the File Upload Gravity Form field.

When I upload an attachment to my form from the front end, the Gravity Form submission email notification shows the attachment as a url (see attached). I am wondering if that might be the issue, and how I can resolve attachments not going through?

Another issue I came across is that the Country for the contact generated by Accelo after a form submission is showing as France. I am not looking to set a default country for contacts nor have anything show by default like France as I don't have a Country field on my form and don't want to add one. How can I address that issue?

Maria
Screen Shot 2021-03-05 at 11.10.56 AM.png
Screen Shot 2021-03-08 at 9.10.28 AM.png

Geoff McQueen

unread,
Mar 11, 2021, 6:08:44 PM3/11/21
to accel...@googlegroups.com
Hi Maria,

Thanks for your email. Some quick comments in-line below.

The attached shows my setup using Webhooks. All form fields populate correctly in an Accelo request except for the Attachment one. The Attachment field is using an input file type – the File Upload Gravity Form field.

Attachments are funny; they actually need to be sent to Accelo in the same way that a web browser would POST the attachment, as part of a multipart/form-data MIME message. I'm not across how GravityForms does their encoding, but it *looks* like what is coming in is a URL back to the file being stored on their servers. Unfortunately, solving for this is something that either their support team or your dev (if there's an intermediate step) will need to solve for.
 
When I upload an attachment to my form from the front end, the Gravity Form submission email notification shows the attachment as a url (see attached). I am wondering if that might be the issue, and how I can resolve attachments not going through?

Another issue I came across is that the Country for the contact generated by Accelo after a form submission is showing as France. I am not looking to set a default country for contacts nor have anything show by default like France as I don't have a Country field on my form and don't want to add one. How can I address that issue?

We generally guess a country, and if we don't have one we will either use (depending on the circumstance) the IP address of the server doing the submission (using IP to GEO lookup maps - which are not 100% accurate) or alternatively the default country value in the deployment. There's no way to disable this; you can control your own country list, though, so you could create a "Country" called "Web Form" and hard code the ID as the country_id value. Just don't expect a seat at the UN ;-)

Geoff
 

Maria

--
You received this message because you are subscribed to the Google Groups "Accelo Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to accelo-devs...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/accelo-devs/0927690f-7cb4-4db1-a862-c938d2cd9e61n%40googlegroups.com.


--
Geoff McQueen
Founder & CEO


__________________________________________________________________________________________________________________________________________________________________________________________________
Reply all
Reply to author
Forward
0 new messages