with IFTTT and Yext?
IFTTT (If This Then That) is a service that lets you create chains of conditional statements, known as applets. These applets can automate tasks across a variety of web services and APIs. By integrating IFTTT with Pipedream, you unlock the ability to handle complex logic, manage state, transform data, and interact with over 600+ supported apps in Pipedream’s ecosystem. You can trigger workflows on Pipedream with events from IFTTT and vice versa, creating a seamless automation experience.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
ifttt: {
type: "app",
app: "ifttt",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://connect.ifttt.com//v2/me`,
headers: {
"IFTTT-Service-Key": `${this.ifttt.$auth.ifttt_Service_Key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
yext: {
type: "app",
app: "yext",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.yext.$auth.api_url}/v2/accounts`,
headers: {
Authorization: `Bearer ${this.yext.$auth.oauth_access_token}`,
},
params: {
access_token: `${this.yext.$auth.oauth_access_token}`,
"v": `20240120`,
},
})
},
})