with Email and Bash?
Get a unique address where you can send emails to trigger your workflow.
Run any Bash in a Pipedream step within your workflow. Refer to the Pipedream Bash docs to learn more.
Customize and send an email to the email address you registered with Pipedream. The email will be sent by notifications@pipedream.com
export default defineComponent({
async run({ $ }) {
const options = {
subject: 'Your subject here',
text: 'Your text here'
};
$.send.email(options);
},
});
# $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