with Motion and Loop Returns?
Emit new event when a label is updated. See the documentation
Emit new event when a new return is created. See the documentation
Emit new event when the status of a specific task is updated.
Emit new event when the status of a return has been updated. See the documentation
Cancels a pending return request in Loop. See the documentation
Flags a particular return as important inside Loop. Requires return ID as a mandatory prop. See the documentation
Move a specific task to another workspace. When moving tasks from one workspace to another, the tasks project, status, and label(s) and assignee will all be reset. See the documentation
The Motion API empowers users to streamline project management and productivity tasks. Within Pipedream's environment, you can leverage this API to automate actions based on project updates, task completions, and team collaborations. It's a toolset that sails smoothly with Pipedream's knack for creating swift integrations and workflows, making it possible to connect Motion with other apps to optimize project tracking, notifications, and data synchronization.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
motion: {
type: "app",
app: "motion",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.usemotion.com/v1
/users/me`,
params: {
"X-API-Key": `${this.motion.$auth.api_key}`,
},
})
},
})
The Loop Returns API enables merchants to automate and streamline their returns and exchanges process. It offers endpoints that allow you to initiate returns, update return states, and manage return-related data, all programmable to fit into your existing e-commerce and customer service workflows. With Pipedream, you can trigger workflows based on events in Loop, or use actions to call the Loop API directly, automating tasks like syncing return data with customer service platforms, updating inventory management systems, or even issuing refunds.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
loop_returns: {
type: "app",
app: "loop_returns",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.loopreturns.com/api/v1/allowlists`,
headers: {
"accept": `application/json`,
"X-Authorization": `${this.loop_returns.$auth.api_key}`,
},
})
},
})