Crates.io | airtable-flows |
lib.rs | airtable-flows |
version | 0.1.9 |
source | src |
created_at | 2023-01-16 03:00:18.181754 |
updated_at | 2023-03-03 08:12:39.548053 |
description | Airtable integration for flows.network |
homepage | |
repository | |
max_upload_size | |
id | 759819 |
size | 8,777 |
This is a library for integrating Airtable in your flow function for flows.network.
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.