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

Pipeline: 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_conn
connection.sendgrid
YesName for SendGrid connections to use. If not provided, the default connection will be used.connection.sendgrid.default
hn_story_count
number
YesThe number of stories to retrieve from Hacker News.2
to
string
YesThe intended recipient's email address.recipient@example.com
from
string
YesThe '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

Tags

recommended = true