Send Document URL(s) to Zapier

If you’re using the official Gravity Forms Zapier add-on to funnel your entry data off to the endless multitudes of services Zapier allows you to integrate Gravity Forms with, you may want to also include your generated documents from Legal Signing along with that data.

Doing this isn’t possible out of the box, but through the addition of the following code utilizing the gfrom_zapier_request_body filter in your theme functions.php file or a custom functions plugin you can get that going and send off the URLs of any generated documents for the entry along with the rest of the payload being sent to Zapier.

Note: Be sure to change Legal_Signing on line 33 to the name of the field on the Zapier end of things where you’d like the data to be transmitted to.