Is it possible to integrate a directory of people, built in Gatsby with Airtable, into Webflow using an embed or "rewrites" feature similar to Vercel and Cloudflare Pages?

TL;DR
  • Use an iFrame to embed the externally hosted Gatsby site within Webflow, but expect limitations in CSS and JavaScript.
  • Import Airtable data directly into Webflow's CMS and automate syncing with tools like Zapier.
  • Embed Airtable API calls using custom code in Webflow, considering CORS and rate limits.
  • If these do not suffice, set up a proxy or middleware server to handle requests externally.

Integrating a Gatsby site with Airtable into Webflow through an embed or a similar method involves several considerations. Webflow does not support direct server-side rewrites like Vercel or Cloudflare. Here's how you can approach this:

1. Use iFrame for Embed

  • Create an iFrame: You can host your Gatsby site externally and then embed it within a Webflow page using an iFrame.
  • Limitations: Note that iFrames might not offer full CSS customization or Javascript interactions within Webflow.

2. Use Webflow’s CMS

  • Manual Integration: Consider importing your Airtable data directly into Webflow's CMS and design within Webflow. This means you might need to periodically update or sync information manually.
  • Automation Tools: Use automation tools like Zapier or Integromat to automate data syncing to a certain extent.

3. Webflow & External API

  • Custom Code Embeds: Use Webflow’s custom code embed fields to fetch data via Airtable’s API. This requires knowledge of JavaScript and handling of API requests.
  • JavaScript Limitations: Be mindful of CORS restrictions and rate limits when accessing external APIs directly from the client side.

4. Proxy or Middleware Server

  • If Webflow's built-in options do not suffice, consider using a proxy or middleware server that can handle requests and deliver them to Webflow. This is a more advanced solution and requires setting up an external server.

Summary

Currently, integrating a directory built in Gatsby with Airtable directly into Webflow using a feature like rewrites requires workarounds. You can either use an iFrame, import data into Webflow's CMS, or embed API calls using custom code. Direct server-side rewrites like those offered by Vercel or Cloudflare are not available in Webflow at this time.

Rate this answer

Other Webflow Questions