Steps
Email Channel Step
E-mail expected to be an object with the following properties:
subject
- The subject of the emailbody
- The HTML body of the email
Any content generation framework like React Email can be used here to generate the HTML Content.
await step.email('send-email', async (inputs) => {
return {
subject: 'You received a post',
body: `<html><body>A new post has been created</body></html>`,
};
});
Was this page helpful?