Back to Templates

Convert Event Text to Calendar Entries with AI and NextCloud/Google/Zoho

Created by

Created by: Eric || automation-wizard

Eric

Last update

Last update 2 days ago

Share


Why use this?

This workflow turns any event-related text into a new event on your calendar.

Poster for a concert you want to go to? Snap a photo [with your iPhone] and boom city, it's in your calendar. †

Parent-Teacher conference you can't forget? Forward that email to the webhook. †

Appointment card from the doctor? Snap it in, baby! †

How it works

(Very, very simple)

  1. Data received by webhook.
  2. Ai Agent prompted to parse the text into structured event data.
  3. Create event in NextCloud cal (or Zoho, or GoogleCal).
  4. (Optional, intended use case) Set up the iOS Shortcut (linked in workflow) to turn your iPhone into the trigger for this workflow. Say "Siri, Add Event To Calendar," and she opens the camera, OCRs the text in the photo and sends that to the webhook. Boom city.

Expected input structure

[
  {
    "body": {
      "cal": "work", <- this is optional for deciding among calendars
      "eventInfo": "Join us for Betty-Jean's 98th birthday! (Yes, we celebrate every year now...) It's October 11th at 2:30pm, at Betty-Jean's house. Come after lunch 'cause her kitchen hasn't been used in 20 years. She mellows out pretty early these days so plan for the party to end by 4:00pm."
    }
  }
]

Extras

  • Includes multiple calendar nodes. Whether you're using NextCloud, Zoho or Google Cal, you can swap in the node you need.
  • iOS Shortcut linked in workflow. I also set up a Shortcut for the iPhone. The first time you use the Shortcut, you'll need to give it some permissions, and paste in your production webhook URL.
  • Expansion option: Accept images. iPhone has a native OCR feature but this isn't always an option. To make this workflow more versatile, consider building out a second branch to send an image to an Agent to parse the event data from the image directly.
  • Expansion option: Multiple triggers. You could add more triggers to receive event-related text from other sources, like an IMAP node reading your email (pro tip: set up a designated folder and give the IMAP access only to that folder).

† Workflow begins with a webhook which can receive correctly-formatted data from anywhere on the web --- mailhook, webform, iOS Shortcut, etc. Direct data to this webhook from your source of text to use this workflow.