with Gorgias and RunSignup?
Emit new event when a ticket message is created. See the documentation
Emit new event when a ticket is updated. See the documentation
Gorgias is a helpdesk platform that centralizes customer interactions and automates common support tasks. Utilizing the Gorgias API on Pipedream allows you to streamline customer service processes by creating automated workflows. With these integrations, you can sync customer data, manage tickets, automate responses, and track support metrics, effectively turning Gorgias into an engine for customer support automation.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
gorgias_oauth: {
type: "app",
app: "gorgias_oauth",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.gorgias_oauth.$auth.domain}.gorgias.com/api/users/0`,
headers: {
Authorization: `Bearer ${this.gorgias_oauth.$auth.oauth_access_token}`,
"Accept": `application/json`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
runsignup: {
type: "app",
app: "runsignup",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://runsignup.com/Rest/v2/auth-info/entity-info.json`,
headers: {
"x-rsu-api-secret": `${this.runsignup.$auth.api_secret}`,
},
params: {
rsu_api_key: `${this.runsignup.$auth.api_key}`,
},
})
},
})