SendGrid icon
To automate your workflows, you need to sign an account first. It’s free.

This is a library for integrating SendGrid in your flow function for

Usage example

use sendgrid_flows::{Email, send_email};
use slack_flows::{listen_to_channel};

pub fn run() {
    listen_to_channel("myworkspace", "mychannel", |sm| {
        let email = Email {
            to: vec![String::from("")],
            subject: String::from("Hi"),
            content: sm.text
        send_email("", &email);

When a new message is received from mychannel, we will send an email using send_email.

The whole document is here.