Spin up a Google Photos album for every new Airtable record

By General Input

When a new row lands in your Airtable base, an agent creates a matching Google Photos album, uploads every image attachment, and writes the album link back to the row.

Integrations

  • Airtable
  • Google Photos

Type

Agentic Task

Categories

  • Operations
  • Marketing

Build me an agent workflow that turns every new Airtable record into its own Google Photos album.

Trigger: poll Airtable for a new_record event on a specific base and table I configure. Both the base and table should be configurable inputs. The agent should run once per newly created record.

What the agent should do on each run:

1. Read the Airtable record. If the trigger payload does not already include the full record, fetch it. Also call Get Base Schema for the table so the agent can see the column names and types, and use that schema to decide which field is the title (a single-line text field like Listing Name, Product Name, or Project Name), which fields are the description-ish context fields (things like address, price, owner, specs, SKU, date), which field is the image attachment column (a multipleAttachments field with images), and which URL or text field is the destination column for the Google Photos album link (look for something like Photos album, Gallery, or Album URL). The user will tell me their conventions in the trigger config or in early HITL, but the agent should make a sensible call from the schema if not told.

2. Call Google Photos Create Album with a clean title built from the record's title field. If the title field is empty, fall back to a label like Record {record id}. Hold onto the new album id and productUrl.

3. Iterate every image attachment on the record. For each one, download the attachment bytes from its Airtable-hosted URL, then call Google Photos Upload Bytes to get an upload token. Group the upload tokens and call Google Photos Batch Create Media Items with the new album id so the photos land directly in the album. Stay within the documented batch limits and respect Google's guidance to call batchCreate serially per user.

4. Once the photos are in, call Google Photos Add Enrichment to Album with a short text enrichment built from the record's key context fields (for a listing: address, price, beds and baths, listing agent; for a product: SKU, price, key specs; for a project: client, dates, location). Keep the text tight, a few lines, so the album has the same story as the row. Position it at the start of the album.

5. Call Airtable Update Record to write the album's productUrl back to the destination URL/text column on the same record so anyone clicking through from Airtable lands in the new gallery.

Edge cases to handle: if the record has no image attachments, still create the album and write the link back (so the user can drop photos in later), unless they configure it to skip empty rows. If an attachment fails to upload, keep going with the rest and surface a short summary at the end of what made it in versus what didn't. Don't fail the whole run on one bad image.

Permissions reminder: Google Photos here only sees albums and media this workflow creates, so don't try to read or modify pre-existing user content. The album we just made is fair game because we made it.

Inputs the user should be able to set up front: Airtable base id, Airtable table id, title field name (optional, agent will guess from schema if blank), image attachment field name (optional, agent will guess), context fields to include in the enrichment text (optional list), destination album-link field name (optional, agent will guess), and a skip-empty-records toggle.

Related prompts

Explore more prompts
Creator roster board for rebook, test, or pause callsRun your nutrition clients' weekly meal plans from one consoleInstagram UGC rights tracker and repost approval boardA verification desk for every document your team scansBrowse and shortlist creators without burning audit creditsGlobal operations exposure map for your sites and suppliersDeal sourcing kanban board for your Harmonic saved searchesTurn jobsite photos into client-ready progress reportsCaption and tidy the photo albums your automations fillProof client shoots and hand off the delivery album in one place