{"id":318,"date":"2026-10-15T21:33:10","date_gmt":"2026-10-15T21:33:10","guid":{"rendered":"https:\/\/blog.skndan.com\/jsontoimg\/2026\/10\/15\/airtable-image-automation\/"},"modified":"2026-11-17T13:33:20","modified_gmt":"2026-11-17T13:33:20","slug":"airtable-image-automation","status":"publish","type":"post","link":"https:\/\/blog.skndan.com\/jsontoimg\/2026\/10\/15\/airtable-image-automation\/","title":{"rendered":"Airtable Image Automation: Render Selected Records"},"content":{"rendered":"<p>Airtable image automation with jsontoimg runs as a custom extension. You select records, click Render selected, and the extension writes the signed image URL back, and optionally uploads the file into an attachment field. Three constraints decide whether it suits you: the plan, the token, and the file size.<\/p>\n<h2>Requirements<\/h2>\n<ul>\n<li>An Airtable <strong>Pro or Enterprise<\/strong> workspace for collaborators to run custom extensions. You can develop against any base where you have creator permission.<\/li>\n<li>The <a href=\"https:\/\/airtable.com\/developers\/extensions\">Blocks CLI<\/a>: install <code>@airtable\/blocks-cli<\/code>, run <code>block init<\/code>, copy in the jsontoimg frontend, then <code>block run<\/code>.<\/li>\n<li>A jsontoimg API key, plus an Airtable personal access token with <code>data.records:write<\/code> if you want attachment write-back. Airtable describes tokens in <a href=\"https:\/\/airtable.com\/developers\/web\/guides\/personal-access-tokens\">personal access tokens<\/a>.<\/li>\n<\/ul>\n<p><code>block run<\/code> listens on <code>https:\/\/localhost:9000<\/code>. That address is a dev server, not a webpage: opening it in a browser tab shows &quot;Not found&quot;, and that is expected. Paste it into Edit extension inside Airtable and accept the self-signed certificate once.<\/p>\n<h2>First render<\/h2>\n<ol>\n<li>Pick a table, template, and format.<\/li>\n<li>Map each layer to a field. Text layers stringify the field; image layers take the first attachment URL or an <code>http<\/code> string.<\/li>\n<li>Choose a URL field, an attachment field, or both.<\/li>\n<li>Select records in the grid and click Render selected.<\/li>\n<\/ol>\n<p>Each record mints a signed URL, writes it to the URL field, then downloads the file, retrying on <a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/HTTP\/Reference\/Status\/503\">503<\/a>, and uploads the bytes to the attachment field.<\/p>\n<h2>Limits<\/h2>\n<table>\n<thead>\n<tr>\n<th>Limit<\/th>\n<th>Value<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Records per run<\/td>\n<td>50 selected<\/td>\n<\/tr>\n<tr>\n<td>Attachment upload<\/td>\n<td>5 MB per file<\/td>\n<\/tr>\n<tr>\n<td>Trigger<\/td>\n<td>A button; it does not fire on record create or update<\/td>\n<\/tr>\n<tr>\n<td>Key visibility<\/td>\n<td>Collaborators who can edit the base can read the stored keys<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>The last row matters. Credentials live in the extension&#39;s <code>globalConfig<\/code>, so create keys you can revoke and do not reuse your main one.<\/p>\n<h2>When to use something else<\/h2>\n<p>Event-driven work, such as &quot;render when a record enters Approved&quot;, needs an automation that can listen for changes. Use <a href=\"https:\/\/jsontoimg.com\/blog\/n8n-image-generation-workflow\">n8n<\/a> or an <a href=\"https:\/\/jsontoimg.com\/blog\/zapier-make-image-generation-http\">HTTP step<\/a>. A 5 MB attachment cap also rules out very large high-scale PNGs; send those to a URL field and skip the attachment.<\/p>\n<p>The overview of triggers is in the <a href=\"https:\/\/jsontoimg.com\/blog\/image-automation-api-workflows\">Image Automation API guide<\/a>.<\/p>\n<h2>FAQ<\/h2>\n<h3>Can I generate images from Airtable records?<\/h3>\n<p>Yes. Install the jsontoimg custom extension, map fields to template layers, select up to 50 records, and render. The signed URL is written back, and the file can be uploaded as an attachment.<\/p>\n<h3>Do I need a paid Airtable plan?<\/h3>\n<p>Collaborators need a Pro or Enterprise workspace to run custom extensions. You can develop against a base where you have creator permission.<\/p>\n<h3>Why does localhost:9000 show Not found?<\/h3>\n<p>It is the Blocks CLI dev server, not a webpage. Paste the URL into Edit extension in Airtable; it is not meant to be opened in a tab.<\/p>\n<h3>Does the extension run when a record changes?<\/h3>\n<p>No. It runs when you click Render selected. For triggers on create or update, use n8n or an HTTP step.<\/p>\n<h2>Related Resources<\/h2>\n<ul>\n<li><a href=\"https:\/\/jsontoimg.com\/integrations\">Image generation integrations<\/a><\/li>\n<li><a href=\"https:\/\/jsontoimg.com\/blog\/google-sheets-image-generation\">Google Sheets image generation<\/a><\/li>\n<li><a href=\"https:\/\/jsontoimg.com\/blog\/json-to-image-converter\">How JSON-to-image conversion works<\/a> \u2014 the pillar guide<\/li>\n<li><a href=\"https:\/\/jsontoimg.com\/blog\/image-automation-api-workflows\">Image automation API guide<\/a> \u2014 choose a trigger<\/li>\n<li><a href=\"https:\/\/jsontoimg.com\/docs\/integrations\/airtable\">Airtable docs<\/a> \u2014 install steps<\/li>\n<li><a href=\"https:\/\/jsontoimg.com\/use-cases\/product-banners\">Product banners use case<\/a> \u2014 a catalog-driven job<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Airtable image automation with the jsontoimg custom extension: plan requirements, the PAT scope for attachments, the 5 MB upload cap, and the 50-record limit.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-318","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blog.skndan.com\/jsontoimg\/wp-json\/wp\/v2\/posts\/318","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.skndan.com\/jsontoimg\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.skndan.com\/jsontoimg\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.skndan.com\/jsontoimg\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.skndan.com\/jsontoimg\/wp-json\/wp\/v2\/comments?post=318"}],"version-history":[{"count":1,"href":"https:\/\/blog.skndan.com\/jsontoimg\/wp-json\/wp\/v2\/posts\/318\/revisions"}],"predecessor-version":[{"id":365,"href":"https:\/\/blog.skndan.com\/jsontoimg\/wp-json\/wp\/v2\/posts\/318\/revisions\/365"}],"wp:attachment":[{"href":"https:\/\/blog.skndan.com\/jsontoimg\/wp-json\/wp\/v2\/media?parent=318"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.skndan.com\/jsontoimg\/wp-json\/wp\/v2\/categories?post=318"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.skndan.com\/jsontoimg\/wp-json\/wp\/v2\/tags?post=318"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}