Email Recipe Card (Any App) shortcut

I am trying to design a shortcut using Information, I have typed into ChatGPT and this is what I got. Could someone help me understand the lay I need to put into Shortcuts to get this to work?


Apple Shortcut: “Email Recipe Card (Any App)”


What it does


From any app (Share Sheet), it will email you a recipe card containing:

• Recipe heading (title)

• Recipe image (attached)

• Serves

• Prep / Cook / Total time

• Ingredients (weights supported)

• Method

• Notes

• Clickable source URL


⸻


Shortcut settings

1. Open Shortcuts → + (New Shortcut)

2. Name: Email Recipe Card (Any App)

3. Tap ⓘ:


• ✅ Show in Share Sheet

• ✅ Accepted Types: URLs and Text


⸻


Build it exactly like this (line-by-line actions)


1) Capture input

1. Get Shortcut Input

2. Set Variable

• Name: Input

• Value: Shortcut Input

⸻


2) Detect Source URL (works for URL shares and text shares)

3. If

• Condition: Input is URL


If TRUE:

4. Set Variable

• Name: Source URL

• Value: Input


Otherwise:

5. Get URLs from Input

• Input: Input


6. If

• Condition: URLs **has any value`

7. Get Item from List

• List: URLs

• Item: First Item

8. Set Variable

• Name: Source URL

• Value: Item from List

9. Otherwise

10. Ask for Input


• Prompt: Paste recipe URL (optional)

• Type: Text


11. Set Variable


• Name: Source URL

• Value: Provided Input


12. End If

13. End If


⸻


3) Get title + image (auto if URL exists, otherwise manual)

14. If


• Condition: Source URL is not empty


If TRUE:

15. Get Contents of Web Page

• URL: Source URL


16. Set Variable


• Name: Web Page

• Value: Web Page


17. Get Details of Web Page


• Web Page: Web Page

• Detail: Title


18. Set Variable


• Name: Recipe Title

• Value: Details of Web Page


19. Get Details of Web Page


• Web Page: Web Page

• Detail: Images


20. Get Item from List


• List: Images

• Item: First Item


21. Set Variable


• Name: Recipe Image

• Value: Item from List


Otherwise:

22. Ask for Input

• Prompt: Recipe title?

• Type: Text


23. Set Variable


• Name: Recipe Title

• Value: Provided Input


24. Select Photos


• Select Multiple: OFF


25. Set Variable


• Name: Recipe Image

• Value: Selected Photos


26. End If


⸻


4) Ask for recipe details (this guarantees it works from ANY app)

27. Ask for Input → Prompt: Serves? → Type: Text

28. Set Variable Serves = Provided Input

29. Ask for Input → Prompt: Preparation time? → Type: Text

30. Set Variable Prep Time = Provided Input

31. Ask for Input → Prompt: Cook time? → Type: Text

32. Set Variable Cook Time = Provided Input

33. Ask for Input → Prompt: Total time? → Type: Text

34. Set Variable Total Time = Provided Input

35. Ask for Input


• Prompt: Ingredients (one per line, include weights)

• Type: Text


36. Set Variable Ingredients Text = Provided Input

37. Ask for Input


• Prompt: Method (steps)

• Type: Text


38. Set Variable Method Text = Provided Input

39. Ask for Input


• Prompt: Notes / tips / substitutions?

• Type: Text


40. Set Variable Notes = Provided Input


⸻


5) Build the email (with clickable URL)

41. Text (paste exactly this HTML)


<h2>{{Recipe Title}}</h2>


<p>

<b>Serves:</b> {{Serves}}<br>

<b>Prep:</b> {{Prep Time}}<br>

<b>Cook:</b> {{Cook Time}}<br>

<b>Total:</b> {{Total Time}}

</p>


<p><b>Source:</b> <a href="{{Source URL}}">{{Source URL}}</a></p>


<h3>Ingredients</h3>

<pre>• {{Ingredients Text}}</pre>


<h3>Method</h3>

<pre>{{Method Text}}</pre>


<h3>Notes</h3>

<pre>{{Notes}}</pre>




42. Make Rich Text from HTML


• Input: Text


43. Send Email


• To: (your email address)

• Subject: Recipe – {{Recipe Title}}

• Message: Rich Text from HTML

• Attachments: Recipe Image

• ✅ Show Compose Sheet: ON


⸻


After you build it, you can make it “ready-to-use” for yourself


If you want the one-tap install experience on your devices:

1. In Shortcuts, open the shortcut → tap Share

2. Choose iCloud Link

3. Copy that link and save it (or send it to yourself)


⸻


thank you for your input.