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::{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 the Slack message is received, create a new record in Airtable using create_record.

Functions

Create a new record in the specified table.