with Survicate and Typefully?
Schedules a draft for publication at a specific date and time. See the documentation
Schedules an existing draft for publication in the next available time slot. See the documentation
The Survicate API empowers you to seamlessly integrate survey data into your systems, automate actions based on feedback, and sync responses across your tech stack. With Pipedream, you can create serverless workflows that leverage this API to respond in real-time to survey submissions, aggregate data for analysis, or trigger personalized marketing campaigns. Pipedream's no-code platform simplifies the process of connecting Survicate with other apps like Slack, Google Sheets, or CRMs such as Salesforce, to streamline data flows and enhance customer insights.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
survicate: {
type: "app",
app: "survicate",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://data-api.survicate.com/v1/surveys`,
headers: {
"Authorization": `Basic ${this.survicate.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
typefully: {
type: "app",
app: "typefully",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.typefully.com/v1/notifications/`,
headers: {
"x-api-key": `${this.typefully.$auth.api_key}`,
},
params: {
kind: `activity`,
},
})
},
})