samples
turbot/flowpipe-samples/send-top-show-hn-email

Send Email with Top 'Show HN'

Send an email using SendGrid containing top stories from 'Show HN'.

Run the pipeline

To run this pipeline from your terminal:

flowpipe pipeline run send_top_show_hn_email.pipeline.send_top_show_hn_email

Use this pipeline

To call this pipeline from your pipeline, use a step:

step "pipeline" "step_name" {
pipeline = send_top_show_hn_email.pipeline.send_top_show_hn_email
}

Params

NameTypeRequiredDescriptionDefault
sendgrid_credstringYesName for SendGrid credentials to use. If not provided, the default credentials will be used.default
hn_story_countnumberYesThe number of stories to retrieve from Hacker News.50
tostringYesThe intended recipient's email address.recipient@example.com
fromstringYesThe 'From' email address used to deliver the message. This address should be a verified sender in your Twilio SendGrid account.sender@example.com

Outputs

NameDescription
send_mail_check