Wufoo is an online form builder. We can use the Wufoo API to import data from Wufoo into Google Sheets. In this tutorial, we’ll show you how to connect the Wufoo REST API to Google Sheets in 5 steps:
Apipheny is a free API connector for Google Sheets. You can use Apipheny to connect your Google Sheets to API data sources, easily.
1.) Install Apipheny by opening the following link on desktop and then clicking the Install button in the Google Marketplace: https://apipheny.io/install
2.) After you’ve installed Apipheny, open a Google Sheet and then click on the Extensions dropdown in the menu at the top.
In the dropdown list you should see Apipheny. Click Apipheny then click Import API to open the Apipheny sidebar in your Google Sheet.
Tip: you can open a new Google Sheet by entering this URL in your browser: sheet.new
After logging into your Wufoo account, click Forms to go to your form manager and then click the three dots button corresponding to your form:
Click the API Information menu item:
Your API key will be displayed on the screen:
Copy your API key to a safe location, because you’ll need it later.
In this section, we’ll show you how to browse the Wufoo API documentation to find an endpoint that retrieves the information you need from your account. If you already know your API URL, or you want to use the same example URL as us, just skip to Step 4.
First, open the Wufoo API documentation page: https://wufoo.github.io/docs/
The menu on the left contains general information about the Wufoo API and a list of categorized endpoints:
If we click the Entries category, a list of its endpoints will be displayed:
An example endpoint is Form Entries, which returns the entries that have been submitted to a specific form:
http://{subdomain}.wufoo.com/api/v3/forms/{identifier}/entries.{format}
If you use this URL, make sure to replace {subdomain} with your username (preserve the word capitalization) and {format} with json.
The endpoint’s documentation contains a short description of the endpoint’s purpose, its HTTP method (GET), the URI, the URL parameters, the query parameters, the cURL command, filtering options and example responses:
All API calls to the Wufoo API should be made to this base URL: http://{subdomain}.wufoo.com/api/v3/
Now go back to your Google Sheet and make sure that the Apipheny add-on is open on the Import tab. With the Import tab open, enter these details into the add-on:
Method: At the top of the Apipheny sidebar, select the HTTP method (GET, POST, PUT, etc) required by your API endpoint. For this example, we are using the GET method.
API URL: In Step 3, we explained how you can find the Wufoo REST API endpoint that you need. Now copy and paste your complete Wufoo API URL into the Apipheny add-on, where it says API URL Path, followed by any parameters required for your query (if applicable).
For this example, we are using the All Forms endpoint, which returns details on all the forms you have permission to access. This is what the whole URL looks like:
https://SUBDOMAIN.wufoo.com/api/v3/forms.json
If you use this URL, make sure to replace SUBDOMAIN with your username, making sure to preserve the word’s capitalization.
Headers: in the Headers section of Apipheny, add one row with the following key and value:
Key: Authorization Value: Basic encoded_string
When entering the Header Value, replace encoded_string with the Base64-encoded version of your concatenated API key and Password, with a semicolon separator between them. You can use a site you trust like https://www.base64encode.org/ to encode your api_key:password string. Just enter your details like this api_key:password and then click Encode. More info about Base64 encoding.
Here’s what our Wufoo API request looks like in Apipheny:
Finally, the last step is to click the Run button at the bottom of the Apipheny add-on and then wait for the Wufoo API data to be imported into your Google Sheet. Here’s what our request looked like when completed:
After successfully calling the Wufoo API, try calling a different endpoint, or try one of Apipheny’s other features to enhance your API calls.
Schedule requests for automatic updates
Reference cell values in requests
Stack multiple URLs in a single request
Crypto API Tutorials: