airtable-flows 0.1.9

Airtable integration for flows.network
Documentation

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

Usage example

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 a new message is received from mychannel, we will create a new record in the table mytable of base mybaseId using create_record.

The whole document is here.