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

This is a library for integrating SendGrid in your flow function for flows.network.

Usage example

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

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

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

The whole document is here.