with Workbooks CRM and Screenshot API?
Creates an order from your customers for your goods or services.
Creates an organisation. Organisations are recorded on your database, e.g Customers, Suppliers, Partners, Competition.
Creates a person. People are recorded in your database, e.g a contact, an employee.
Returns and order if exists otherwise creates a new one.
The Workbooks CRM API unlocks a treasure trove of possibilities for automating customer relationship management tasks. With this API, you can seamlessly sync contact info, manage sales leads, automate follow-up tasks, and build custom reports to unlock actionable insights. Harnessing the power of the Workbooks CRM API on Pipedream allows you to supercharge these functionalities, triggering workflows on custom events, and connecting to numerous other apps to streamline your CRM processes even further.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
workbooks_crm: {
type: "app",
app: "workbooks_crm",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://secure.workbooks.com/activity/tasks.api`,
headers: {
"Cookie": `Workbooks-Session=${this.workbooks_crm.$auth.session_id}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
screenshot_api: {
type: "app",
app: "screenshot_api",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://shot.screenshotapi.net/v3/screenshot`,
params: {
token: `${this.screenshot_api.$auth.api_key}`,
url: `https://google.com`,
output: `JSON`,
},
})
},
})