with Drift and Anthropic (Claude)?
Emit new when a new conversation is started in Drift. See the documentations
Emit new event when a message is received in a specific Drift conversation. See the documentations
Creates a contact in Drift. See the documentation
The Chat API. See the documentation
Deletes a contact in Drift by ID or email. See the documentation
Retrieves a contact in Drift by ID or email. See the documentation
Updates a contact in Drift using ID or email. Only changed attributes will be updated. See Drift API documentation
The Drift API, contrary to the customer messaging platform, is actually a geocoding service provided by Geocod.io. It allows you to convert physical addresses to geographic coordinates and vice versa, enrich addresses with detailed location data, and offers batch geocoding features for processing multiple addresses simultaneously. With Pipedream, you can harness this API for a variety of location-based automations, enriching customer data with geographical insights, automating logistics, or enhancing marketing campaigns with location targeting.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
drift: {
type: "app",
app: "drift",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://driftapi.com/users/list`,
headers: {
Authorization: `Bearer ${this.drift.$auth.oauth_access_token}`,
},
})
},
})
The Anthropic (Claude) API offers a conversational AI that can be leveraged for a variety of applications, ranging from answering questions to generating content or providing customer support. In Pipedream, you can create powerful workflows that utilize the capabilities of Claude to automate responses, analyze text, or enhance data with AI-generated insights. Pipedream's serverless platform simplifies integrating Claude into your processes with other apps and services for seamless automation.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
anthropic: {
type: "app",
app: "anthropic",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.anthropic.com/v1/models`,
headers: {
"x-api-key": `${this.anthropic.$auth.api_key}`,
"anthropic-version": `2023年06月01日`,
},
})
},
})