Auto-enrich Airtable recipes with Tasty details

By General Input

Type a recipe name into Airtable and watch it auto-fill with photo, ingredients, prep time, calories, and a link, pulled straight from Tasty.

Integrations

  • Airtable
  • Tasty

Type

Deterministic Code

Categories

  • Personal Productivity
  • Operations

Build a code workflow that auto-enriches my Airtable "Recipes to Try" base with structured recipe details from Tasty whenever I add a new row.

Trigger: Airtable poll trigger on new_record, watching the "Recipes to Try" table in my recipes base. Every new row has the recipe name typed into a "Name" field (single line text). The enrichment columns on the same table start empty and need to be filled in: Tasty Recipe ID (number), Image URL (url), Prep Time (number, minutes), Total Time (number, minutes), Servings (number), Calories (number), Ingredients (long text), Tasty Link (url), and Did You Mean? (single line text).

Step 1: Call Tasty's List Recipes operation with q set to the recipe name from the new Airtable row, from=0, size=1. /recipes/list already returns the full recipe shape inline (sections with components for ingredients, nutrition object with calories, prep_time_minutes, total_time_minutes, num_servings, thumbnail_url, slug, id), so no second Tasty call is needed for enrichment.

Step 2 (happy path): If results[0] exists, PATCH the same Airtable row via Update Record. Map fields like this: Tasty Recipe ID = results[0].id (preserve as integer, this is the join key for any future workflows); Image URL = results[0].thumbnail_url; Prep Time = results[0].prep_time_minutes; Total Time = results[0].total_time_minutes; Servings = results[0].num_servings; Calories = results[0].nutrition.calories; Ingredients = flatten every component.raw_text across every section, joined with newlines; Tasty Link = https://tasty.co/recipe/ + results[0].slug. Leave Did You Mean? blank.

Step 3 (fallback): If results is empty, call Tasty's Recipe Auto-Complete operation with the same q. Take the first suggestion's display name (or search_value) and PATCH the row's Did You Mean? column with it, so I can see the suggested spelling next to my row and either fix it or accept it. Leave all the other enrichment columns untouched in this branch.

Constraints: do not touch any column I did not list (my own notes, ratings, tags). Use PATCH (Update Record), never PUT. Recipe IDs must be stored as integers so future workflows can re-fetch via List Recipe Tips or similar. Every step is a known node (Airtable read on trigger, Tasty search, Airtable PATCH) with deterministic branching on whether Tasty returned a match. This is intentionally a code workflow, not an agent.

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 searchesProof client shoots and hand off the delivery album in one placeField service dispatch board that ranks the closest techVendor due diligence register with on-demand risk briefs