with Envoy and Campayn?
Emit new event for each visitor who signed in or out. See the docs
Emit new event for each invitations to a person or a group of people to visit a location. See the docs
The Envoy API empowers users to streamline workplace operations, particularly visitor management, deliveries, and room bookings. Leveraging Pipedream's capabilities, you can automate tasks involving these aspects. For example, you can receive notifications when guests arrive, sync visitor data with other systems, or automate the creation and management of room bookings.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
envoy: {
type: "app",
app: "envoy",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.envoy.com/v1/employees/`,
headers: {
Authorization: `Bearer ${this.envoy.$auth.oauth_access_token}`,
},
})
},
})
The Campayn API lets you automate email marketing tasks directly within Pipedream. It provides programmatic access to manage contacts, lists, and email campaigns. With Pipedream, you can build serverless workflows to integrate Campayn with other apps and services, triggering actions based on events, scheduling regular email campaigns, or syncing data across platforms.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
campayn: {
type: "app",
app: "campayn",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://campayn.com/api/v1/lists.json`,
headers: {
"Authorization": `TRUEREST apikey=${this.campayn.$auth.api_key}`,
"Content-Type": `application/json`,
},
})
},
})