with AttractWell and Evernote?
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}`,
},
})
},
})
import { Client } from 'evernote';
export default defineComponent({
props: {
evernote: {
type: "app",
app: "evernote",
}
},
async run({ steps, $ }) {
var developerToken = this.evernote.$auth.developer_token;
var client = new Client({ token: developerToken, sandbox: false });
var noteStore = await client.getNoteStore();
return await noteStore.listNotebooks();
},
})