with CentralStationCRM and Shopify (OAuth)?
Emit new event when a new deal is created in CentralStationCRM.
Emit new event when a new person is created in CentralStationCRM.
Emit new event whenever a collection is updated, including whenever products are added or removed from a collection.
Creates a new deal in CentralStationCRM. See the documentation
Adds a product or products to a custom collection. See the documentation
Creates a new person in CentralStationCRM. See the documentation
Execute bulk mutations by uploading a JSONL file containing mutation variables. See the documentation
The CentralStationCRM API enables you to manage customer relationships by automating tasks, syncing data, and creating custom integrations within Pipedream. With this API, you can access functions such as retrieving customer details, logging activities, and managing sales opportunities. Integrating CentralStationCRM with Pipedream allows you to connect to other apps and services, creating efficient workflows that can save time and enhance customer engagement.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
centralstationcrm: {
type: "app",
app: "centralstationcrm",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.centralstationcrm.$auth.account_name}.centralstationcrm.net/api/people.json`,
headers: {
"X-apikey": `${this.centralstationcrm.$auth.api_key}`,
},
})
},
})
Shopify provides a powerful API that enables developers to build a wide range
of applications and tools for merchants. Some examples of what you can build
using the Shopify API include:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
shopify: {
type: "app",
app: "shopify",
}
},
async run({steps, $}) {
const data = {
"query": `{
shop {
id
name
email
}
}`,
}
return await axios($, {
method: "post",
url: `https://${this.shopify.$auth.shop_id}.myshopify.com/admin/api/2024-04/graphql.json`,
headers: {
"X-Shopify-Access-Token": `${this.shopify.$auth.oauth_access_token}`,
"Content-Type": `application/json`,
},
data,
})
},
})