with Zep and Google Contacts?
Emit new event when a contact group is updated. See the documentation
Emit new event when a contact is updated. See the documentation
Emit new event when a message is added to a session. See the documentation
Emit new event when a new session is created in Zep. See the documentation
Emit new event when an existing session is updated. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
zep: {
type: "app",
app: "zep",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.getzep.com/api/v2/users-ordered`,
headers: {
"authorization": `Api-Key ${this.zep.$auth.api_key}`,
},
})
},
})
The Google Contacts API allows you to integrate your contact data with custom applications, enabling you to sync, manage, and leverage your contact list for a variety of functions. Through Pipedream, you can seamlessly connect the Google Contacts API to various other services, streamlining contact management tasks such as syncing contact details across platforms, automating outreach or follow-ups, and gathering insights from contact interactions.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
google_contacts: {
type: "app",
app: "google_contacts",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://people.googleapis.com/v1/people/me`,
headers: {
Authorization: `Bearer ${this.google_contacts.$auth.oauth_access_token}`,
},
params: {
personFields: `names,emailAddresses`,
},
})
},
})