Parse new order email into calendar event using AI

Created by
AnneMarie  Freedman
AnneMarie Freedman
Contractor
Relay.app screenshot of: Parse new order email into calendar event using AI
Relay.app screenshot of: Parse new order email into calendar event using AI

Steps in this workflow

1
Gmail logo
Email received
2
OpenAI logo
Extract with GPT-4o-mini
3
OpenAI logo
Extract with GPT-4o-mini
4
OpenAI logo
Extract with GPT-4o-mini
5
OpenAI logo
Extract with GPT-4o-mini
6
Google Sheets logo
Add row to sheet
7
Google Calendar logo
Create Drop-off Event
8
Google Tasks logo
Create task
9
Google Calendar logo
Create Pick-Up Event
10
Google Sheets logo
Add row to sheet

Use AI to parse an automated email with a new order confirmation into a detailed custom calendar event.

1
Gmail logo
Email received
Relay.app screenshot of: Trigger
App Gmail
Trigger Email received
Every workflow starts with a trigger. When the triggering action is detected, usually an action in another app, a new run of the workflow is kicked off.
Documentation
descriptionTriggers 101
2
OpenAI logo
Extract with GPT-4o-mini
Relay.app screenshot of: Step 2: Extract with GPT-4o-mini
Relay.app’s built-in AI actions, Custom Prompt steps and mini Agents make it easy to leverage AI in a predictable, controlled way.
Documentation
descriptionAI steps
descriptionPrompt tips
3
OpenAI logo
Extract with GPT-4o-mini
Relay.app screenshot of: Step 3: Extract with GPT-4o-mini
Relay.app’s built-in AI actions, Custom Prompt steps and mini Agents make it easy to leverage AI in a predictable, controlled way.
Documentation
descriptionAI steps
descriptionPrompt tips
4
OpenAI logo
Extract with GPT-4o-mini
Relay.app screenshot of: Step 4: Extract with GPT-4o-mini
Relay.app’s built-in AI actions, Custom Prompt steps and mini Agents make it easy to leverage AI in a predictable, controlled way.
Documentation
descriptionAI steps
descriptionPrompt tips
5
OpenAI logo
Extract with GPT-4o-mini
Relay.app screenshot of: Step 5: Extract with GPT-4o-mini
Relay.app’s built-in AI actions, Custom Prompt steps and mini Agents make it easy to leverage AI in a predictable, controlled way.
Documentation
descriptionAI steps
descriptionPrompt tips
8
Google Tasks logo
Create task
Relay.app screenshot of: Step 8: Create task
Documentation
descriptionActions 101
Author picture (AnneMarie  Freedman)

I work in the tech industry and on the side, I contract with a company called BabyQuip. We make it easy for traveling parents or grandparents to get children's gear.

How it works is traveling parents or grandparents who need gear go and create orders for a specific date and then we fill the order.

Each time an order is placed for my gear, I get an automated confirmation email. Before using Relay.app, I'd manually create a detailed calendar event from this listing so that I could stay on top of my orders and co-ordinate with my husband and dad for the drop off.

With Relay.app, I set up a workflow using AI that automatically creates this calendar event for me. Two things that helped me get the right results are 1) I included examples in the prompt of the output I'd like to see for a given input and 2) I broke down a large AI step into multiple steps to improve accuracy.

I'm not an AI expert but I love data and spreadsheets and I love finding ways to make things easier. So glad I found Relay.app!

AnneMarie Freedman
Contractor