Airtable to SurveyMonkey uploader
Number of APIs: 2
Intro
Follow along with this blog post: Scripting an Airtable to SurveyMonkey uploader.
The SurveyMonkey API documentation has a Run in Qodex button documenting all of their endpoints. Import their entire Qodex collection into the Qodex app to get started quickly.
The Airtable API documentation has an easy way to access your Airtable data. If you don't already have an airtable base, you can use this example and follow along.
Get Started
Update the environment with your own authorization credentials.
Required Environment Variables | Description |
---|---|
airtable_base | Review the automatically-generated Airtable API documentation for your own airtable base. |
airtable_api_key | To generate or manage your API key, visit your Airtable account page. |
surveymonkey_token | Create a new SurveyMonkey app, select scope permissions, and get the access token. |
SURVEY_ID | Use the SurveyMonkey API documentation to GET this information. |
PAGE_ID | Use the SurveyMonkey API documentation to GET this information. |
Run the collection
This operational collection works like a script or utility, and will continue to iterate over every airtable record and create a new question until there are no more questions left.
- Controlling your workflow: we can use
Qodex.setNextRequest()
to continue sending the same request until no more questions remain. - Saving state: we can use an environment variable like
airtable_records
to save the current state of the array containing all the questions that remain to be uploaded.