

Note that the repository also includes a GitHub Actions workflow that can automatically deploy your function when you push new commits-see "GitHub Actions configuration details" to learn more. With your wrangler.toml configured, you can deploy the function using wrangler publish.The FORM_URL value should match your deployed Pages URL, such as. In worker, configure the wrangler.toml file with your Cloudflare account_id, and replace AIRTABLE_BASE_ID and AIRTABLE_TABLE_NAME with the values from the tutorial.To correctly configure your new project, use the build command and build directory from the "Pages deployment details" section below. Configure a new Pages project in the Cloudflare dashboard, and point it at your forked repository.Create a valid Airtable base + table, and get the relevant API keys and configuration details.Fork this repository, and clone your forked repo down to your local machine.New form submissions will be submitted into an Airtable spreadsheet that you will create in the tutorial.

AIRTABLE FORM HOW TO
This tutorial will show you how to integrate with Airtable, a Google Sheets-like spreadsheet software. There are two codebases provided, configured using NPM's workspace feature: frontend, the front-end user interface, and worker, a serverless function for handling form submissions. This repository is the sample codebase associated with Cloudflare's tutorial on building a form handler for your static and Jamstack sites, using Cloudflare Workers.Ĭheck out the full tutorial to build it yourself, or you can follow the instructions to deploy to your own Cloudflare account.
