<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Dinnes D.</title>
    <description>The latest articles on DEV Community by Dinnes D. (@deevetechdev).</description>
    <link>https://dev.to/deevetechdev</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4277272%2F1f075d94-b24e-498c-a2a7-f3519565fa94.png</url>
      <title>DEV Community: Dinnes D.</title>
      <link>https://dev.to/deevetechdev</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/deevetechdev"/>
    <language>en</language>
    <item>
      <title>An n8n workflow example: from Airtable to finished Shopify products</title>
      <dc:creator>Dinnes D.</dc:creator>
      <pubDate>Wed, 02 Dec 2026 01:41:02 +0000</pubDate>
      <link>https://dev.to/deevetechdev/an-n8n-workflow-example-from-airtable-to-finished-shopify-products-361</link>
      <guid>https://dev.to/deevetechdev/an-n8n-workflow-example-from-airtable-to-finished-shopify-products-361</guid>
      <description>&lt;p&gt;Most n8n workflow examples stop at "send a Slack message when a form is filled". This one was built for a jewellery brand on Shopify. Two n8n workflows, 67 nodes between them, take a collection from a row in Airtable to finished, categorised Shopify products with images on every variant.&lt;/p&gt;

&lt;h2&gt;
  
  
  The job it replaces
&lt;/h2&gt;

&lt;p&gt;A jewellery catalogue is mostly variants. One collection is dozens of products, each with metals, sizes and stones, and each needs a title that does not collide with another, a description in the brand's voice, a Google product category and images attached to every variant.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Done by hand that is a day per collection, and the twentieth product gets less care than the first.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The research underneath has the same problem: what competitors call a moonstone ring, what buyers say about aquamarine, and which keywords Google Shopping rewards. Nobody does that consistently for every collection by hand.&lt;/p&gt;

&lt;h2&gt;
  
  
  Two workflows, two jobs
&lt;/h2&gt;

&lt;p&gt;Splitting the work in two keeps each workflow readable and lets the research run once per collection, not once per product.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Workflow one: The collection doc generator, 29 nodes.&lt;/strong&gt; Reads the collection from Airtable, runs four Perplexity research passes in parallel, and has Gemini write a brand doc and Google Shopping title rules into Google Docs.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Workflow two: The master collection builder, 38 nodes.&lt;/strong&gt; Loops one product at a time: gathers images, writes the copy with Gemini, creates the Shopify product and updates Airtable with the result.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Workflow one: research written once
&lt;/h2&gt;

&lt;p&gt;It reads the collection row from Airtable, then runs four Perplexity deep research passes in parallel: the competitor landscape, the materials, customer sentiment and Google Shopping keywords. The four results merge, and Gemini writes two documents from them: a brand identity doc and a set of title directives for Google Merchant Center. Both are saved in Google Drive as Google Docs, and their IDs go back onto the Airtable row.&lt;/p&gt;

&lt;p&gt;The output is a reusable brief, not a one-off answer. Every product in the collection is written from the same research.&lt;/p&gt;

&lt;h2&gt;
  
  
  Workflow two: one product at a time
&lt;/h2&gt;

&lt;p&gt;It reads the collections marked ready in Airtable and loops one product at a time. Images come from either source: if the row points at Canva, it triggers a Canva export, polls the export status and waits for the files; if it points at a Google Drive folder, it lists the images there instead. It then pulls the brand doc and title directives back out of Google Docs and hands everything to Gemini for the product copy.&lt;/p&gt;

&lt;h2&gt;
  
  
  Titles that cannot collide
&lt;/h2&gt;

&lt;p&gt;Before anything is created, the workflow builds a title query, checks the existing product titles in Shopify and resolves a unique one. This is the step people skip. Two products with the same title is a support problem later and a Merchant Center problem immediately.&lt;/p&gt;

&lt;p&gt;Then it builds the Shopify payload, creates the product, waits for it to settle and assigns the image to every variant rather than only the first. It makes sure the variant set is complete, sets the Google product category and writes the result back to Airtable, so a rerun knows what is already done.&lt;/p&gt;

&lt;h2&gt;
  
  
  What to copy for your own workflows
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;One source of record.&lt;/strong&gt; Airtable holds the state, so every run reads and writes the same place and a rerun skips finished work.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Research once.&lt;/strong&gt; Expensive AI research runs per collection and is saved as a document, not repeated per product.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Code nodes for logic.&lt;/strong&gt; 25 Code nodes hold the field mapping, deduplication and payload shaping, which read more clearly as JavaScript than as a chain of Set nodes.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Waits and retries.&lt;/strong&gt; The Canva export and the Shopify create are slower than the rest of the flow, so they get their own wait and retry handling.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Check before you create.&lt;/strong&gt; Look up what already exists, such as titles, before writing anything new.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The stack is n8n, self-hosted, with Airtable as the source of record, Canva and Google Drive for images, Google Docs for the generated briefs, Perplexity for research, Google Gemini for the copy and the Shopify Admin API for the writes.&lt;/p&gt;

&lt;p&gt;The full &lt;a href="https://deeve.info/projects/awareness-avenue-shopify-product-pipeline/" rel="noopener noreferrer"&gt;case study for this n8n pipeline&lt;/a&gt; has the build details. If you have a repetitive store task like this, see my &lt;a href="https://deeve.info/services/ai-automation-make-n8n/" rel="noopener noreferrer"&gt;AI and workflow automation service&lt;/a&gt; or &lt;a href="https://deeve.info/book-a-call/" rel="noopener noreferrer"&gt;book a call&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;I am Dinnes, a full-stack developer and automation engineer working with clients in the US, Europe and Australia. More of my work is at &lt;a href="https://deeve.info/" rel="noopener noreferrer"&gt;deeve.info&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>n8n</category>
      <category>automation</category>
      <category>shopify</category>
      <category>ai</category>
    </item>
    <item>
      <title>Taking over an unfinished React Native app and making sure two people can never claim the same client</title>
      <dc:creator>Dinnes D.</dc:creator>
      <pubDate>Wed, 02 Dec 2026 01:32:24 +0000</pubDate>
      <link>https://dev.to/deevetechdev/taking-over-an-unfinished-react-native-app-and-making-sure-two-people-can-never-claim-the-same-1li3</link>
      <guid>https://dev.to/deevetechdev/taking-over-an-unfinished-react-native-app-and-making-sure-two-people-can-never-claim-the-same-1li3</guid>
      <description>&lt;p&gt;Earlier this year I took over a mobile app that its previous programmer could not finish. The client was Premier Gaming Massage, a US company whose therapists work poker rooms and tournament floors. Players want a massage without leaving their seat, so the team needed one shared, live list of waiting clients on their own phones, with no tablet at every venue.&lt;/p&gt;

&lt;p&gt;I redesigned every screen and rebuilt the app, The List, on a new codebase rather than patching what was there. It now runs on iOS and Android from one TypeScript codebase. This post covers the parts that were harder than they look.&lt;/p&gt;

&lt;h2&gt;
  
  
  The problem: one list, many phones, no collisions
&lt;/h2&gt;

&lt;p&gt;A client scans a QR code at the venue and joins the list. Several therapists see that list at the same time. Every client has to land in the right list, in order, and be claimed by exactly one therapist. If two therapists claim the same person, two of them walk to the same table while another client keeps waiting.&lt;/p&gt;

&lt;p&gt;That rule cannot live in the app. Two phones can both read "next client: table 12" a few milliseconds apart and both tap Claim. If the check happens on the phone, both win.&lt;/p&gt;

&lt;h2&gt;
  
  
  Claims are settled in the database
&lt;/h2&gt;

&lt;p&gt;The app runs on Supabase: Postgres, Auth, Realtime and Storage. A claim is not an update the phone sends. It is a database function that takes the next waiting client first in, first out, locks the row while it does so, and returns who you got. A second therapist tapping at the same moment cannot take the same client, because the database settles who got there first.&lt;/p&gt;

&lt;p&gt;The same idea runs through the public side. When a client submits from a QR code, the entry goes through database functions that validate the input, check the venue's banned numbers, rate limit by a hashed IP address and lock against duplicates. The phone only shows the result.&lt;/p&gt;

&lt;h2&gt;
  
  
  Access is decided by the database, not the phone
&lt;/h2&gt;

&lt;p&gt;The List shares one Supabase project with a web console the office uses. Several organizations use the same tables, so every table has row level security that keeps each one to its own organization. A therapist's phone can only ever see its own organization's venues, lists and clients, because Postgres refuses to return anything else, whatever the app asks for.&lt;/p&gt;

&lt;p&gt;Chat photos sit in a private storage bucket for the same reason.&lt;/p&gt;

&lt;h2&gt;
  
  
  Testing the rules that matter
&lt;/h2&gt;

&lt;p&gt;The rules that would hurt most if they broke are tenant isolation, access rules and claim order, so those are tested where they live. The database carries 102 pgTAP tests covering exactly those, with Jest tests in the app alongside. When the schema changes, the tests say whether one organization could now see another's data, or whether two claims could collide.&lt;/p&gt;

&lt;h2&gt;
  
  
  Informed consent on the phone
&lt;/h2&gt;

&lt;p&gt;Texas requires informed consent before a session. The client reads the consent form on the therapist's phone, picks the areas to be massaged and confirms with the last seven digits of their number. The therapist checks their photo ID before the record is saved.&lt;/p&gt;

&lt;h2&gt;
  
  
  The rest of the app
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Every live list at a glance.&lt;/strong&gt; The home screen shows each live list for the therapist's venues: who is waiting, who is next and who has been served, updating the moment a client joins.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A list that is also the team chat.&lt;/strong&gt; Each venue or tournament list doubles as the team's chat, with replies, reactions and photos, so the event team stays on one screen.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Admin in the same app.&lt;/strong&gt; Business admins manage their organization, venues, services, staff and QR codes from an Admin tab, so running a venue does not depend on a laptop.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Ready for both stores.&lt;/strong&gt; Account deletion, reporting and blocking, community rules and a privacy policy are built in, as Apple and Google require.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Stack
&lt;/h2&gt;

&lt;p&gt;React Native 0.81 with TypeScript, Hermes and the new architecture. React Navigation 7 for tabs and stacks, TanStack Query for server state, Supabase for the backend. Builds ship to TestFlight and Google Play through Codemagic and GitHub Actions, and signing secrets stay out of git.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I would tell anyone taking over a half-finished app
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Decide early whether to patch or rebuild. Here I rebuilt on a clean codebase rather than patching someone else's unfinished decisions.&lt;/li&gt;
&lt;li&gt;Put the rules that must never break in the database, then test them there.&lt;/li&gt;
&lt;li&gt;Treat store requirements (account deletion, reporting, privacy policy) as features from day one, not a last-week scramble.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The full case study, with screenshots, is on my portfolio: &lt;a href="https://deeve.info/projects/the-list-ios-android-app/" rel="noopener noreferrer"&gt;The List, iOS and Android app&lt;/a&gt;. The web console behind it is written up there too: &lt;a href="https://deeve.info/projects/the-list-web-console/" rel="noopener noreferrer"&gt;The List web console&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;I am Dinnes, a full-stack developer working with clients in the US, Europe and Australia. More of my work is at &lt;a href="https://deeve.info/" rel="noopener noreferrer"&gt;deeve.info&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>reactnative</category>
      <category>supabase</category>
      <category>postgres</category>
      <category>typescript</category>
    </item>
  </channel>
</rss>
