Data Out
The Data Out panel lets you create, manage, and organize all of your apps' POST, PUT (PATCH) or DELETE requests.
Data Out is used when you need to send data from your web app to an external source. This is different from Data In, which is used for retrieving data.
Before you can use Data Out, you must connect to an app that will receive the data.
To do this, go to My Apps, and add your App.
Then you can go to Data Out, and start building your request.
Click on the "New Request" button in the top right corner of the panel.
This will open the Request Panel, where you can give the request a name and pick a source to send the data to. Depending on the endpoint, you may be using a built-in integration or a custom REST API.
Each request needs a trigger to execute, such as on page load, on a variable condition or a user input.
The After Request Panel allows you to set up actions that happen after the request: trigger another request, set a cookie, set a variable, or navigate to another page.
The Overview Panel gives you an overview of the request, including the trigger, name, and the actions it's used in.
The Response Fields Panel shows you the fields received from the server after sending data out.
These response values can be used in many ways, such as replacing content on a site, creating conditional logic, computing values, and storing values in cookies and query parameters.
The request also has two dimensions: in progress/completed and successful/unsuccessful. These four states can be used in the same way as response values.
Here’s an example on how you could configure an outgoing Airtable request:
- First, you need to add
wized
attributes to your form elements in your Webflow project, and publish the site. - Go to Wized, and click on Refresh Attributes
- Add Airtable to MyApps.
- Start building the request in the Data Out Panel. Select the app, request type, base and table, and then bind the input fields.
- Set up a new Action that will trigger the request when the user clicks a Submit button
- Once you have your request set up, refresh the canvas, and click on the submit button to test it out.
That’s it!
In this lesson, we learned about the Data Out Panel and how to use it to create a record in an Airtable base. We also discussed the different triggers, response values, and request states.