with Pobuca Connect and Bash?
Run any Bash in a Pipedream step within your workflow. Refer to the Pipedream Bash docs to learn more.
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}`,
},
})
},
})
# $PIPEDREAM_STEPS file contains data from previous steps
cat $PIPEDREAM_STEPS | jq .trigger.context.id
# Write data to $PIPEDREAM_EXPORTS to return it from the step
# Exports must be written as key=value
echo foo=bar >> $PIPEDREAM_EXPORTS