Optimize the way your company stores & communicates with business contacts
Get the duration between two dates in days, hours, minutes, and seconds along with checking if they are the same.
Format a date string to another date string. For more examples on formatting, see the Sugar Date Format documentation.
Pobuca Connect API offers a suite of functionalities to manage contacts within an organization, streamline communication, and enhance collaboration. Integrating this API with Pipedream enables you to automate tasks involving contact management, such as syncing new contacts to other platforms, triggering notifications upon contact updates, and creating custom workflows to maintain your organization's contact database efficiently. Harness the API's capabilities to build robust, serverless workflows on Pipedream that trigger on events or on a schedule, and interact with an array of other apps and services.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
pobuca_connect: {
type: "app",
app: "pobuca_connect",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://pobucaapiv3.azurewebsites.net/tables/contacts`,
headers: {
"ZUMO-API-VERSION": `2.0.0`,
"X-ZUMO-AUTH": `${this.pobuca_connect.$auth.api_key}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})