sample
turbot/flowpipe-samples/send-top-show-hn-email
Get Involved
Version
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
Name | Type | Required | Description | Default |
---|---|---|---|---|
sendgrid_conn | connection.sendgrid | Yes | Name for SendGrid connections to use. If not provided, the default connection will be used. | connection.sendgrid.default |
hn_story_count | number | Yes | The number of stories to retrieve from Hacker News. | 2 |
to | string | Yes | The intended recipient's email address. | recipient@example.com |
from | string | Yes | The 'From' email address used to deliver the message. This address should be a verified sender in your Twilio SendGrid account. | sender@example.com |
Outputs
Name | Description |
---|---|
send_mail_check |
Tags
recommended = true