with Amazon Selling Partner and Freshdesk?
Emit new event when a contact is created. See the documentation
Emit new event when a ticket is created. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
amazon_selling_partner: {
type: "app",
app: "amazon_selling_partner",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://sellingpartnerapi-na.amazon.com/inbound/fba/2024-03-20/inboundPlans`,
headers: {
"x-amz-access-token": `${this.amazon_selling_partner.$auth.oauth_access_token}`,
},
})
},
})
The Freshdesk API empowers you to interact programmatically with your customer support platform, creating possibilities for automating repetitive tasks, integrating with other services, and enhancing customer experiences. With Pipedream, you can effortlessly connect Freshdesk to a multitude of apps, tapping into triggers and actions that streamline workflows. For instance, you can automate ticket creation, sync customer issues with a CRM, or trigger notifications based on ticket updates, all within a serverless environment.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
freshdesk: {
type: "app",
app: "freshdesk",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.freshdesk.$auth.domain}.freshdesk.com/api/v2/tickets`,
auth: {
username: `${this.freshdesk.$auth.api_key}:X`,
password: ``,
},
})
},
})