with Swapcard Exhibitor and ChartHop?
Emit new event when a new connection is formed (new lead).
Emit new event when a new employee is added to the organization. See the documentation
Emit new event when a new group is added to the organization. See the documentation
Emit new event when a new job is added to the organization. See the documentation
Return people, job, group, and field data for a particular org that match a provided search string. See the documentation
Updates an existing employee's details. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
swapcard_exhibitor: {
type: "app",
app: "swapcard_exhibitor",
}
},
async run({steps, $}) {
const data = {
"query": "query TestQuery { __typename }"
}
return await axios($, {
method: "post",
url: `https://developer.swapcard.com/exhibitor/graphql`,
headers: {
"Authorization": `${this.swapcard_exhibitor.$auth.api_key}`,
"x-apollo-operation-name": `TestQuery`,
},
data,
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
charthop: {
type: "app",
app: "charthop",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.charthop.com/v1/user/me`,
headers: {
Authorization: `Bearer ${this.charthop.$auth.api_token}`,
},
})
},
})