If you’re looking to generate QR codes for Airtable, then you can combine our automation script with the power of Airtable automations to do so.
-
First, ensure you’re using an Airtable Pro or Enterprise subscription. Unfortunately Airtable only allows custom automation scripts on these two tiers.
-
Then, open our automation script and provide the following information:
- Name of the table within your Airtable base that contains the data you want to generate QR codes for
- Name of the content field within your Airtable table that contains the values you want to encode within the QR codes
- Name of image attachment field within your Airtable table that is where you want the generated QR codes to be inserted to
- License key (you can purchase one here)
- Click “Generate Script”
- Copy the generated Airtable script, and open Airtable
- Open your Airtable base, and click “Automations”
- Click “Create automation” and add a trigger “When record created” (or choose whatever trigger works best for the scenario when you’d like to generate QR codes)
- Add the “Run Script” action
- Paste the script from step 4 into the “Script” section
- Click “Edit code” to see the full-screen code editor. On the left-hand side, add an input variable. Note that this is case sensitive and must match the below values:
- Name: recordId
- Value: Airtable record ID
- Click “Test action” and your automation should run successfully. If not, watch this video to confirm you’ve setup your automation correctly. If you’re getting an error “cannot read properties of undefined” then double check your input variable matches the above configuration as this error suggests you’ve entered it incorrectly.
If you don’t have Airtable Pro or Enterprise and are willing to generate your QR codes manually, you can install our Airtable extension to do so. Note that by buying a license key, you’ll have access to both the extension and the automation script.