with Heyy and Email?
Get a unique address where you can send emails to trigger your workflow.
Emit new event when a business gets a new incoming message. See the documentation
Customize and send an email to the email address you registered with Pipedream. The email will be sent by notifications@pipedream.com
Updates the details of a contact under your business. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
heyy: {
type: "app",
app: "heyy",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.hey-y.io/api/v2.0/business`,
headers: {
Authorization: `Bearer ${this.heyy.$auth.api_token}`,
},
})
},
})
export default defineComponent({
async run({ $ }) {
const options = {
subject: 'Your subject here',
text: 'Your text here'
};
$.send.email(options);
},
});