airtable-flows 0.1.5

Airtable extension for flows.network
Documentation

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

Usage example

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

#[no_mangle]
pub fn run() {
    if let Some(sm) = channel_msg_received("myworkspace", "mychannel") {
        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.