Recued
Menu
← Back to recipes

Bookings from invites

by recued-core v1 10 views

Use “Bookings from invites” in Recued. A calendar invite emailed to you for an appointment, a call booked through a link or tickets, becomes a booking with its time. An update moves it, a cancellation or your own decline cancels it. It starts when the invite arrives, not on a timer, and never answers an invite.

How it works 45 steps

Inspect the data fetches, transforms, gates, and output this recipe runs.

Process (45 steps)
◆ invite core.storage.ics.read
Read storage ics
■ ev defaults
Apply defaults
■ is_invite all
Check if all conditions are true
■ is_offer compare
Check if ev method is one of request,publish,add,none
■ is_cancel_message compare
Check if ev method equals cancel
■ is_own_reply all
Check if all conditions are true
■ single all
Check if all conditions are true
■ timed compare
Check if ev start ms exists
■ in_scope any
Check if any of the conditions are true
■ you_declined compare
Check if ev you status equals declined
■ cancelled_now any
Check if any of the conditions are true
■ undecided compare
Check if ev you status is one of needs_action,tentative
■ open_lifecycle ternary
Apply ternary
■ lifecycle ternary
Apply ternary
■ who default
Apply default
■ base_title default
Apply default
■ has_location compare
Check if ev location has data
■ location_part ternary
Apply ternary
■ title truncate
Truncate base title}}{{step location part to a max length
■ end_after_start all
Check if all conditions are true
■ assumed_end math
Calculate: {{step.ev.start_ms}} + 3600000
■ slot_end ternary
Apply ternary
■ uid_hash sha256
Apply sha256
◆ listed core.work-entity.list
List work entity
■ made_here filter
Filter by condition
■ mine filter
Filter by condition
■ found count
Count items in mine
■ existing default
Apply default
■ lifecycle_ours compare
Check if existing lifecycle state is one of pending,confirmed,cancelled
■ is_live all
Check if all conditions are true
■ create_new all
Check if all conditions are true
■ title_changed compare
Check if existing title does not equal title
■ lifecycle_changed compare
Check if existing lifecycle state does not equal lifecycle
■ start_changed compare
Check if existing slot start at does not equal ev start ms
■ end_changed compare
Check if existing slot end at does not equal slot end
■ offer_changed any
Check if any of the conditions are true
■ update_from_offer all
Check if all conditions are true
■ update_state_only all
Check if all conditions are true
■ state_message any
Check if any of the conditions are true
■ apply_state all
Check if all conditions are true
◆ created core.work-entity.booking.create
Create work entity booking
skip: step.create_new equal false
◆ updated core.work-entity.booking.update
Update work entity booking
skip: step.update_from_offer equal false
◆ state_updated core.work-entity.booking.update
Update work entity booking
skip: step.apply_state equal false
■ outcome switch
Map create new}}/{{step update from offer}}/{{step apply state to one of: false/false/true, false/true/false, true/false/false
■ card to_summary
Format results as a summary card
▼
Output
summary card
Settings 2 configurable

Configurable at install. Defaults shown — change them anytime in Recued.

my addresses setting =
include meetings setting = false

Uses (4 operations)

Files Read storage ics core.storage.ics.read
Tasks & notes List work entity core.work-entity.list
Tasks & notes Create work entity booking core.work-entity.booking.create
Tasks & notes Update work entity booking core.work-entity.booking.update

Trust & control

What installing this recipe would let it do. Recued grants these permissions at install — review them there before approving.

What it's allowed to do

Read Files core.storage.ics.read read-only
Read Tasks & notes core.work-entity.list read-only
Write Tasks & notes core.work-entity.booking.create external change
Write Tasks & notes core.work-entity.booking.update external change

Data it touches

SurfacesFilesTasks & notes
Warehousedata.file

About

Tags

bookingscalendarinvitesmaildeterministicpack:calendar-invites

Details

45 steps 2 configurable settings recipe_id: track-booking-from-invite