With the Airtable module you can:
Read Table Data into WayScript
Delete Table Rows
Create New Table Rows
Follow the instructions below for setting up each of these form inputs.
In this example, we are using the "Event Marketing" base. Click on the base.
Choose the table you want to work with in the "Table Name" input. (In this case, the "Events" table.)
Choose whether you would like to Get Records, Delete Rows, or Create a New Record.
The "Get Records" option allows you to retrieve data from a table.
You can choose whether you want to retrieve All Rows, rows that match a Filter, or a Single Row.
If you choose the "Filter" or "Single Row" option, you will need to define the filter you want to match on.
All rows matching your settings above will display in the "Inputs" section.
The "Delete Rows" option works much in the same way as the "Get Records" option, but deletes any matching records instead of retrieving them.
You also have the option to Create a New Record.
If you choose this option, you can either:
Build the data you would like to create using WayScript
Input raw JSON
If you opt to build Data yourself, you will need to define each of the fields you wish to input into the table.
If you opt to input raw JSON, you will need to select the WayScript variable that contains that JSON.
Each column of your table will be available to select as an output from the Airtable module.