Crate airtable_flows

source ·
Expand description

Airtable integration for Flows.network

Quick Start

To get started, let’s write a very tiny flow function.

use airtable_flows::create_record;
use slack_flows::{listen_to_channel};

#[no_mangle]
pub fn run() {
    listen_to_channel("myworkspace", "mychannel", |sm| {
        let record = serde_json::json!({
            "Name": sm.text,
        });
        create_record("accountName", "mybaseId", "mytable", record);
    });
}

When the Slack message is received, create a new record in Airtable using create_record.

Functions