with GetProspect and Bash?
Run any Bash in a Pipedream step within your workflow. Refer to the Pipedream Bash docs to learn more.
GetProspect offers a powerful API to automate the process of finding and verifying professional email addresses. Harnessing this capability within Pipedream, you can create streamlined workflows that not only gather leads but also integrate them into your marketing or sales pipelines. Imagine enhancing your CRM with fresh leads, syncing contact info across tools, or setting up alerts when certain lead criteria are met—all of this can be orchestrated within Pipedream's serverless platform.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
getprospect: {
type: "app",
app: "getprospect",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.getprospect.com/public/v1/email/verify`,
headers: {
"apiKey": `${this.getprospect.$auth.api_key}`,
},
params: {
email: `support@getprospect.com`,
},
})
},
})
# $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