with Contentful (OAuth) and Merge?
Creates an Activity object with the given values. See the documentation
Update a candidate profile with the specified ID. See the documentation
Contentful's Content Management API lets you manage content as data and integrate it seamlessly with any tech stack. On Pipedream, you can wield this power to automate content operations, sync data across platforms, and trigger workflows based on content events. For example, you could update an external database with new content entries, notify team members of content changes, or generate static sites when content updates.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
contentful: {
type: "app",
app: "contentful",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.contentful.com/spaces`,
headers: {
Authorization: `Bearer ${this.contentful.$auth.oauth_access_token}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
merge: {
type: "app",
app: "merge",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.merge.dev/api/ats/v1/linked-accounts`,
headers: {
Authorization: `Bearer ${this.merge.$auth.api_key}`,
},
})
},
})