with QuestionPro and Marketo?
QuestionPro provides a suite of tools to create, distribute, and analyze surveys. Utilizing its API within Pipedream allows you to automate workflows around survey distribution, response collection, and data analysis. You can trigger actions based on new survey responses, generate reports, and integrate survey data with other apps to enrich customer profiles, support decision-making processes, or measure satisfaction levels across various services.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
questionpro: {
type: "app",
app: "questionpro",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.questionpro.$auth.environment}.questionpro.com/a/api/v2/organizations/4734262`,
params: {
apiKey: `${this.questionpro.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
marketo: {
type: "app",
app: "marketo",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.marketo.$auth.rest_api_identity_url}/oauth/token`,
headers: {
Authorization: `Bearer ${this.marketo.$auth.oauth_access_token}`,
},
})
},
})