samples
turbot/flowpipe-samples/send-top-show-hn-email
Get Involved
Version
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_cred | string | Yes | Name for SendGrid credentials to use. If not provided, the default credentials will be used. | default |
hn_story_count | number | Yes | The number of stories to retrieve from Hacker News. | 50 |
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 |