with AttractWell and TickTick?
Emit new event when a contact becomes a new member of a vault.
Emit new event when a new registration for an event takes place.
Emit new event when a lead is gained from a landing page.
Creates or updates a contact with the provided identification and contact details.
Approves, rejects, or unapproves a lesson in the AttractWell system based on the selected status.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
attractwell: {
type: "app",
app: "attractwell",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.attractwell.com/api/v1/campaigns`,
headers: {
Authorization: `Bearer ${this.attractwell.$auth.oauth_access_token}`,
},
})
},
})
The TickTick API lets you tap into a robust task management framework from Pipedream. If you've ever wanted to streamline your to-do list or automate routine task management, this is your gateway. Use the API to create tasks, retrieve task details, update task status, and more. Automating your TickTick tasks can free up time, ensuring important items never slip through the cracks.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
ticktick: {
type: "app",
app: "ticktick",
}
},
async run({steps, $}) {
const data = {
"title": `Example task from Pipedream`,
}
return await axios($, {
method: "post",
url: `https://api.ticktick.com/open/v1/task`,
headers: {
Authorization: `Bearer ${this.ticktick.$auth.oauth_access_token}`,
},
data,
})
},
})