with Swapcard Exhibitor and ClinchPad?
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,
})
},
})
ClinchPad is a modern CRM tailored for small teams to manage sales pipelines with minimal fuss. The ClinchPad API integrates with Pipedream, allowing you to automate interactions with your sales pipeline. For instance, you can automatically create leads, update their status, track communications, or gather analytics for reporting purposes. Through Pipedream, you can connect ClinchPad with hundreds of other apps to streamline your sales process, maintain customer relations, and close deals faster.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
clinchpad: {
type: "app",
app: "clinchpad",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://www.clinchpad.com/api/v1/users`,
auth: {
username: `api-key`,
password: `${this.clinchpad.$auth.api_key}`,
},
})
},
})