Integrate Your Wufoo Forms
Here is a quick how-to guide for creating PDF documents from your Wufoo web form submissions. We will use a Webhook to send your submission data to WebMerge and create your PDF document. For this example, we will create a simple order form and PDF receipt.
Below is a screenshot of the Wufoo form we will be using. As you will see, we will be selling t-shirts with a few options to choose from.
In order to create your document within WebMerge, you will need to determine the variable names that Wufoo will use to send your data. We will use PostBin to determine these variable names. To do this test, go to http://www.postbin.org/ and create a new PostBin URL (You will click the button on the homepage, and notice the URL you are redirected to – ex http://www.postbin.org/1buatj3). Copy this URL, and return to your Wufoo Notifications page. On the notifications page, add a new Webhook Integration (choose Webhook from dropdown and click Add Integration). Paste the PostBin URL into the Webhook URL box and click Save.
Go ahead and submit a test submission of your form. Go back to your PostBin URL (if the page was still open, refresh the page) and you should see 2 columns of data. The left column (in bold) are the variable names and in the right column are the values. Save these variables, you will need them when creating your WebMerge document.
The next step is to create the document within WebMerge to handle submission data. We will use the document builder to design a nice looking receipt. Take a look at the screenshot below.
Now that we have the document all setup, we simply need to change the Webhook URL in Wufoo to the Webhook URL for this WebMerge document (replacing the PostBin URL we used for testing). You will find this URL on your Merge tab within WebMerge. You are all set! Go ahead and do another test submission and you should receive your merged document.