with SurveySparrow and Notion (API Key)?
Emit new event when a customer effort score (CES) survey receives a new submission.
Emit new event when a customer satisfaction (CSAT) survey receives a new submission.
Emit new event when a net promoter score (NPS) survey receives a new submission.
Emit new event each time a the specified survey receives a response.
Emit new event when a new comment is created in a page or block. See the documentation
Append new and/or existing blocks to the specified parent. See the documentation
Create a comment in a page or existing discussion thread. See the documentation
The SurveySparrow API lets you tap into a robust platform for gathering feedback and insights. With Pipedream, you can automate interactions with your surveys, manage contacts, and analyze responses in real time. You can create workflows that trigger on new survey responses, sync data to other services, or even kick off email campaigns based on survey results. The power of Pipedream's serverless platform means you can integrate SurveySparrow with hundreds of other apps, enabling limitless automation scenarios without writing extensive code.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
surveysparrow: {
type: "app",
app: "surveysparrow",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.surveysparrow.com/v1/contacts`,
headers: {
Authorization: `Bearer ${this.surveysparrow.$auth.access_token}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
notion_api_key: {
type: "app",
app: "notion_api_key",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.notion.com/v1/users/me`,
headers: {
Authorization: `Bearer ${this.notion_api_key.$auth.api_secret}`,
"Notion-Version": `2021-08-16`,
},
})
},
})