• AI reference · Area online

booking_attendance

Mark who came. Say who came to a 1:1 call or class booked on the website (attended or no_show), as the owner tells you: one person, or the class's whole list in marks. It starts the owner's automations for them, so it waits for the owner's yes on the task you hold (task): one card for the list.

Where it is

In the online area (your website: pages, forms, sign-ups, the member area, selling, classes and calls, going live; its look; payment links; course progress; giving or taking away member access): open it with tools_for { area: "online" }, then call it with use_tool { name: "booking_attendance", args }.

Does it need a yes?

Needs the owner's yes: it makes a yes card, and nothing happens until the owner taps yes. Here: it starts the owner's automations, which may email the person: one attendance yes per class's list.

Inputs

InputTypeNeededAbout
what"call" | "class"yes
refstringyesA call's time key (YYYY-MM-DD-HHMM) or a class's key. · 1 to 120 characters
emailstringnoOne person's email, as on the booking (or marks for the whole list). · up to 254 characters
state"attended" | "no_show"no
marksarray of objectnoThe class's whole list at once: one yes card for all of them. · 1 to 100 items
marks[].emailstringyesup to 254 characters
marks[].state"attended" | "no_show"yes
taskintegernoThe task you hold: who came waits for the owner's yes there. · 1 or more
run_idstringyesThe run_id from start. Pass it on every call: it keeps your task held. · 1 to 100 characters

Example

{
  "name": "booking_attendance",
  "arguments": {
    "what": "call",
    "ref": "ref",
    "run_id": "the run_id from start"
  }
}

When it is refused

  • invalid: The input isn't right. The sentence names the field and the fix; nothing was done. Fix it and call again.
  • not_found: No such thing in this company (a task, file, person, record). Check the number or name, or list first.
  • not_allowed: Not without another step: the owner's yes, your own task held with pick_up, or a setting the owner turns on. The sentence says which.
  • taken: Someone else holds it (another AI on that task). Pick another task.
  • stale: It changed since you read it. Read it again and use the new version.
  • failed: On our side or a service's, never your input. Try again in a minute; if it keeps failing, call report_problem.