I gave GPT-4 an existing Shopify app tutorial, and asked what other type of app it could build in under an hour. So we built a customer segmentation app that updates customer metafields based on a customer's total lifetime spend.
This is the tutorial I used: https://docs.gadget.dev/guides/tutori...
Want to build this yourself, but don't want to copy the code files from the video? I got you, just go to this Medium post: / i-asked-gpt-4-to-build-a-shopify-app-in-an...
Chapters
00:00 Intro + demo of final app
01:30 Initial prompt in the OpenAI Playground
03:24 Five app suggestions from GPT-4
08:17 Getting into the weeds into our app of choice
11:23 Creating the Shopify app backend + integration
16:56 Create a custom model
21:17 Create metafield
23:30 Create the JS code file
26:25 Testing and debugging
36:30 The app works
38:10 Outro