Mav handles the back-and-forth conversations with your leads via automated text message.
Delay the execution of your workflow for a specific amount of time (does not count against your compute time).
The Mav API allows for automated, conversational marketing via SMS, engaging leads and customers through personalized messaging. On Pipedream, you can tap into this capability to create workflows that trigger actions within Mav based on various events or conditions. For example, you can add new leads into Mav's system, update contacts, or send out messages based on triggers from other apps or scheduled times.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
mav: {
type: "app",
app: "mav",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://hiremav.com/api/v2/me`,
headers: {
"Authorization": `${this.mav.$auth.api_key}`,
"Accept": `application/json`,
},
})
},
})
The Delay API in Pipedream is a built-in function that allows you to pause a workflow for a specified amount of time. This can be incredibly useful when you need to stagger API calls to avoid rate limits, wait for an external process to complete, or simply introduce a delay between actions in a sequence. With precision up to milliseconds, the Delay API provides a simple yet powerful tool for managing timing in automation workflows.
export default defineComponent({
async run({steps, $}) {
// Specify the amount of time to delay your workflow in milliseconds
return $.flow.delay(5000)
},
})