The SurveyMonkey API provides dynamic access to survey creation, retrieval, and distribution functionality, along with deep insights into responses. With Pipedream’s serverless integration platform, you can automate custom workflows that trigger actions based on survey events, analyze survey data, or synchronize survey results with other data sources. Pipedream’s ability to connect with hundreds of apps opens up a vast landscape of automation possibilities, directly integrating with data visualization tools, CRMs, marketing platforms, and more.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
survey_monkey: {
type: "app",
app: "survey_monkey",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.surveymonkey.com/v3/users/me`,
headers: {
Authorization: `Bearer ${this.survey_monkey.$auth.oauth_access_token}`,
},
})
},
})
Automated Survey Response Processing: When a new survey response is received, trigger a Pipedream workflow to parse the data, perform sentiment analysis using a tool like the Google Natural Language API, and then store the results in a Google Sheets spreadsheet for team collaboration and real-time analysis.
Survey Distribution via Email Campaigns: For every new contact added to a Mailchimp list, use a Pipedream workflow to automatically send a personalized SurveyMonkey survey link. Then, based on survey completion, trigger a follow-up campaign or tag the contact for segmentation and targeted marketing efforts.
Real-time Survey Alerts and Reporting: Configure a Pipedream workflow to monitor for new survey completions. When a completion is detected, use the workflow to format a summary and send it via Slack to a designated channel, or via email to stakeholders. This ensures immediate visibility of survey results and enables quick action on the collected feedback.
SurveyMonkey uses OAuth authentication. When you connect your SurveyMonkey account, Pipedream will open a popup window where you can sign into SurveyMonkey and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any SurveyMonkey API.
Pipedream requests the following authorization scopes when you connect your account:
surveys_write
surveys_read
contacts_read
contacts_write
responses_read
responses_read_detail
responses_write
webhooks_read
webhooks_write
GET
https://api.surveymonkey.com/oauth/authorize
?
client_id={{oauth.client_id}}
&
redirect_uri={{oauth.redirect_uri}}
&
state={{oauth.state}}
&
response_type=code
POST
https://api.surveymonkey.com/oauth/token
content-type: application/x-www-form-urlencoded
accept: application/json
client_id={{oauth.client_id}}
&
client_secret={{oauth.client_secret}}
&
redirect_uri={{oauth.redirect_uri}}
&
grant_type=authorization_code
&
code={{oauth.code}}