mcp-pavoot
v0.7.46MCP server that exposes the Pavoot event-planning API
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
whoami
Return the authenticated user's profile (id, name, email, role). Use this once at the start of a session to confirm which Pavoot account is connected to the MCP — the API key in the host config determines the scope of every other tool.
act_as_org
Pavoot staff only: work inside another organization, the way the web app's "Viewing: <org>" switcher does. Every tool call after this is scoped to that org until `stop_acting_as_org`. `org`: the organization's name (e.g. "Fondo"), slug, or id. READ-ONLY unless `allow_writes` is true: reads work, anything that would create, change, send or delete is refused before it leaves the MCP. Set `allow_writes=true` ONLY when the user has explicitly asked you to make a change in that organization. Customer data is real; an unrequested write there is never acceptable.
| Parameter | Type | Description |
|---|---|---|
org * | string | |
allow_writes | boolean |
stop_acting_as_org
Go back to this account's own organization (and drop any write permission granted by `act_as_org`).
health_check
Check that the Pavoot API is reachable. Returns API status info.
list_my_events
List every event in the caller's organization. Always call this first when the user mentions an event by name — match the name to a returned `id` and use that for downstream tool calls. Includes id, name, starts_at/ends_at, status, finalized flag, and the active planning task for unfinalized events. Links: `public_token` is the generated code, `handle` is the host-chosen name (`pavoot.events/<handle>`, null when none was set) and `public_url` is the link to give guests. Read `handle` before calling `set_event_handle`: an event has ONE handle, so setting a new one retires the old and breaks…
| Parameter | Type | Description |
|---|---|---|
format | string |
create_event
Create a new event row and return its UUID. Args: name: Optional name to seed the new event with. Defaults to "New Event" when omitted; pass an empty string to send `name=""` explicitly.
| Parameter | Type | Description |
|---|---|---|
name |
delete_event
Delete an event and every row that references it (RSVPs, drafts, check-ins, notes, etc.). Idempotent — deleting a missing event is a no-op. REQUIRES `confirm=True`. The first call returns a needs_confirmation payload; ask the user in plain English (mention the event name), then retry with confirm=True.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
confirm | boolean |
get_event_state
Get the full pre-event planning state for an event. Returns the active task, completed tasks, target group filters, full draft (title, tagline, date, location, capacity, settings, …), proposed / confirmed attendee ids, chat history, and a task checklist with `done` / `active` / `pending` statuses. `draft.landing_document` (and the `_simple` / `_envelope` variants) come back exactly as saved, so they're safe to edit and send back with `set_landing_document` or to `run_landing_designer`.
| Parameter | Type | Description |
|---|---|---|
event_id * | string |
reset_event
Reset all planning progress for an event back to step 1. WARNING: clears target group, draft, proposed/confirmed attendees, and chat history. The event row itself is not deleted. REQUIRES `confirm=True`. Confirm with the user first.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
confirm | boolean |
duplicate_event
Copy an event's planning state to a new event id (POST /pre-event/{id}/duplicate). Useful for running similar events repeatedly: re-uses the landing page (including a page made with the AI page editor), settings and templates, and mints a fresh public_token. WITH OR WITHOUT THE GUESTS: if the user has not said whether the copy should keep the guest list, ASK them before calling — "with the guest list" or "just the event (no guests)". Don't pick for them. Args: event_id: Source event id to copy from. new_event_id: UUID of the destination event. The row must already…
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
new_event_id * | string | |
include_attendees | boolean | |
title_suffix | string |
regenerate_public_token
Mint a new public URL token for an event, invalidating the previous link. Use this when you need to revoke access to the current public RSVP page. REQUIRES `confirm=True` — the existing link becomes immediately unreachable for everyone who has it.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
confirm | boolean |
finalize_event
Mark the event as fully planned and return the finalized summary. Requires attendees to be confirmed first. Returns the full draft, the confirmed attendee list, and the total attendee count.
| Parameter | Type | Description |
|---|---|---|
event_id * | string |
get_finalized
Return the finalized event summary (404s if the event isn't finalized yet).
| Parameter | Type | Description |
|---|---|---|
event_id * | string |
quick_setup
Bootstrap an event draft from a Luma-style form in one call. Skips the conversational pre-event walkthrough — populates the entire draft, marks event-type / theme / date-location / details / settings as complete, and jumps the active task straight to picking attendees. Any field you omit is left unchanged.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
capacity | ||
cover_image_url | ||
date | ||
description_md | ||
end_at | ||
goal | ||
location | ||
location_details | ||
public_guest_list | ||
requires_approval | ||
start_at | ||
tagline | ||
theme | ||
timezone | ||
title | ||
visibility | ||
waitlist_enabled |
get_entry_flow
Get the current state of the entry-flow wizard for this event. Returns the wizard status ("pending"/"active"/"have_idea"/"done"/"skipped") and, if active, the current question (id, prompt, options).
| Parameter | Type | Description |
|---|---|---|
event_id * | string |
answer_entry_flow
Answer the current entry-flow question. Args: event_id: The event id. step: The current step id (e.g. "q1_have_idea") — must match the wizard's current step. answer: The selected option id (str) or list of options for multi-select questions.
| Parameter | Type | Description |
|---|---|---|
answer * | ||
event_id * | string | |
step * | string |
skip_entry_flow
Skip the entry-flow wizard for this event.
| Parameter | Type | Description |
|---|---|---|
event_id * | string |
set_target_group_source
Set where the attendee pool comes from. "crm" pulls the founders already in your database. "research" starts a fresh pass — you'll specify criteria via `refine_target_group`.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
source * | string |
get_target_group
Get the current target group with charts and matched people. Returns the active filters, total matched count, industry / location / school breakdowns, suggested sub-groups, and the first 60 matched people. Args: format: Response shape — `json` (default), `markdown` (table of matched people), `csv`, or `summary` (one-line headline). Charts/filters are only present in `json`; `markdown`/`csv` surface just the people list.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
format | string |
refine_target_group
Add / remove / replace filters on the target group. Filter keys: industries, locations, fields, schools, prev_companies, keywords. Args: set_filters: Dict of {facet: [values]} to merge into current filters. remove_filters: List of facet keys to clear entirely. replace_filters: Dict of {facet: [values]} that REPLACES the entire filter set (use when starting over).
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
remove_filters | ||
replace_filters | ||
set_filters |
confirm_target_group
Lock in the current target group and advance to event-concept selection.
| Parameter | Type | Description |
|---|---|---|
event_id * | string |
get_event_suggestions
Get 3-5 AI-generated event concepts tailored to this event's target group. Args: regenerate: Force fresh ideas even if suggestions already exist.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
regenerate | boolean |
select_event_suggestion
Choose one of the AI-generated concepts; populates the draft with it.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
suggestion_id * | string |
tweak_event
Adjust the event's theme, goal, or title after selecting a suggestion.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
goal | ||
theme | ||
title |
get_date_location_options
Get 3 AI-suggested (date, location) combinations with rationale.
| Parameter | Type | Description |
|---|---|---|
event_id * | string |
set_date_location
Set the event date and location (free-text both).
| Parameter | Type | Description |
|---|---|---|
date * | string | |
event_id * | string | |
location * | string |
set_event_details
Update the public-facing event page details. Any field you omit is left unchanged. Args: start_at / end_at: ISO datetime strings (e.g. "2026-05-14T18:30:00"). timezone: IANA timezone (e.g. "America/Los_Angeles"). location_details: {mode: "offline"|"online", address, link, instructions}. description_md: Markdown description shown on the public page.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
cover_image_url | ||
description_md | ||
end_at | ||
location_details | ||
start_at | ||
tagline | ||
timezone | ||
title |
set_event_settings
Update access / capacity settings. Any field you omit is left unchanged. Args: capacity: Max confirmed guests (None = unlimited). waitlist_enabled: Put overflow on a waitlist instead of declining. visibility: "public" (link-anyone) or "private" (invite-only). requires_approval: Guests land in a pending queue until approved. public_guest_list: Show confirmed guests (full name, plus the company they typed) on the event page; turning it on adds a Guest list block to the page. Off by…
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
capacity | ||
public_guest_list | ||
registration_closed | ||
requires_approval | ||
visibility | ||
waitlist_enabled |
get_proposed_attendees
Get the proposed and confirmed attendees for this event. Each entry has id, name, title, company, field, industries, city, email, LinkedIn URL, and source ("crm" / "web" / etc.). Large. To REVIEW candidates against a brief (the Sourcing tab's table with its requirement columns), use `list_sourcing_candidates` instead: compact, paged, and the same view the sourcing agent uses.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
format | string |
refine_attendees
Add or remove specific people from the proposed attendee list. PURE DELTA — only the ids you pass are touched. Nothing else on the proposed list is added, removed, or re-synced. Empty lists are no-ops. The other proposed attendees are completely unaffected by this call. The two id types are different on purpose — keep them straight: add_ids: CRM-contact UUIDs from `list_crm_contacts` (the account's CRM). Each id is snapshot-copied into the proposal table with source='crm'. Already-proposed CRM contacts are silently skipped (idempotent re-ad…
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
add_ids | ||
remove_ids |
review_attendee
Mark a proposed attendee as reviewed (or un-review). Reviewed/declined are mutually exclusive — reviewing clears any prior decline flag.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
id * | string | |
reviewed * | boolean |
decline_attendee
Mark a proposed attendee as declined (or un-decline).
| Parameter | Type | Description |
|---|---|---|
declined * | boolean | |
event_id * | string | |
id * | string |
regenerate_attendees
Throw away the current attendee proposals and let the system regenerate. Clears proposed / confirmed / reviewed / declined lists and removes any 'selected' RSVPs that were seeded for this event. Useful when the target-group filters changed substantially. REQUIRES `confirm=True` — any reviews / declines / confirmations the user has already made on this event's attendees are lost.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
confirm | boolean |
confirm_attendees
Lock in the final attendee list and advance to the invite step. WARNING: confirming REPLACES the attendee table's "On invite list" (status `selected`) with this batch: everyone at "On invite list" who is not in the confirmed proposals is REMOVED from the event. Never use it to add people to an event that already has an invite list; use `bulk_import_rsvps` or `import_crm_contacts_to_event` (both only add). REQUIRES `confirm=True`. Confirming the list is a meaningful commit: it freezes who will be emailed, snapshots them into the RSVP table, and unblocks invite-draft generation. We want the us…
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
confirm | boolean | |
include_unreviewed | boolean |
pre_event_agent
Send a message to the pre-event planning agent (the main chat). The agent decides per-turn whether to ask back, edit the draft, refine the target group, or change the proposed attendees. Returns the final assistant text — the streaming SSE payload is collected on the MCP side so you get the complete response.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
message * | string |
event_page_chat
Send a message to the lightweight event-page draft chat. Different from `pre_event_agent` — this is a narrower assistant scoped to editing the public event-page draft (title, schedule, location, description, capacity, visibility). Use it when the user wants to tweak the public page in a tight loop and doesn't need the broader planning agent (which can also refine the target group or attendees). Returns `{reply, draft}` — the LLM's reply text plus the full updated draft after any patch was applied.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
message * | string |
get_pre_event_notes
Get the host's private planning notes for an event.
| Parameter | Type | Description |
|---|---|---|
event_id * | string |
set_pre_event_notes
Save the host's private planning notes (used later by the AI follow-up generator).
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
notes * | string |
get_post_event_notes
Get the host's post-event notes (used by the follow-up email generator).
| Parameter | Type | Description |
|---|---|---|
event_id * | string |
set_post_event_notes
Save the host's post-event notes. Used verbatim by the AI when drafting follow-up emails — include specific details: what happened, highlights, next steps.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
notes * | string |
list_notetaker_events
List events visible to the notetaker (any event with check-ins). Per person: the org's hosted / sponsored / co-hosted events plus the ATTENDED events this user is going to (`event_kind: 'attended'`, `attending_team`, `attending_me`); teammates' attended events are left out (see `list_team_attended_events`). Returns each event with `attendee_count` (checked-in) and `invited_count` (all RSVPs). Use this when the user asks about notes — `list_my_events` includes pre-event events that have no notes yet, so this is the better starting point for note workflows.
| Parameter | Type | Description |
|---|---|---|
format | string |
list_notetaker_attendees
List checked-in attendees for an event with note-coverage metadata. Each row includes `note_count` (total notes anyone took on this person), `my_note_count` (just the caller's notes), `latest_note_at`, and `team_coverage` (which teammates have taken notes on them). Use this to find attendees with — or without — notes before drilling in.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
format | string |
list_attendee_notes
List every note taken on one attendee for one event, oldest → newest. Each note has: id, content, method ('typed' | 'voice' | 'image'), transcript (for voice notes), image_url (signed S3 URL for image notes), important (starred), author_name, author_color, created_at.
| Parameter | Type | Description |
|---|---|---|
attendee_id * | string | |
event_id * | string | |
format | string |
add_attendee_note
Add a new note on one attendee during/after the event. Args: event_id, attendee_id: IDs from `list_notetaker_attendees`. content: The note body — full sentences encouraged, the LLM consumes this verbatim when drafting follow-ups. Required for a typed note; optional with a recording or photo. method: 'typed' (default), 'voice', or 'image'. Set for you when `audio_path` / `image_path` is given. transcript: The spoken text of a voice note you transcribed elsewhere. Not needed with `audio_path`. audio_path: A recording on this machine (mp3, m4…
| Parameter | Type | Description |
|---|---|---|
attendee_id * | string | |
event_id * | string | |
audio_path | ||
content | ||
image_path | ||
important | boolean | |
met | ||
method | string | |
transcript | ||
via |
update_attendee_note
Edit a note's content or toggle its important flag. Pass only the fields you want to change. At least one of `content` or `important` must be provided.
| Parameter | Type | Description |
|---|---|---|
note_id * | string | |
content | ||
important |
get_all_event_notes
Fetch every note for every checked-in attendee at one event. Two API calls whatever the event size: `list_notetaker_attendees` for the attendees, and the event export for every note on the event, matched to each attendee by id. Returns a bundle of: { "event_id": "...", "attendees": [ { ...attendee fields..., "notes": [...] }, ... ], "total_notes": N } Markdown is the default format here — it produces a per-attendee transcript view that's ideal for "summarise what each person said about X" prompts. Pass `important_only=True` to drop non-starr…
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
format | string | |
important_only | boolean |
get_event_dashboard
Get the live event dashboard: capacity, settings, and per-status RSVP counts.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
format | string |
list_rsvps
List RSVPs for an event with full contact details. Includes status, check-in time, company, LinkedIn, UTM source, and referrer. By default (no `page`) this fetches EVERY RSVP, paginating internally, so you see all attendees in one call — up to a safety cap of 1000 rows. Larger events come back with `truncated: true` and a `note` explaining how to page the rest. For explicit control on large events, pass `page` (0-based) to fetch a single slice. The response's `total` / `page` / `limit` / `page_size_max` fields tell you how many rows exist and how many pages remain. `page_size` sets the ro…
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
format | string | |
page | ||
page_size |
add_rsvp
Manually add an attendee to the event (for people invited offline). Creates or updates the contact in the CRM and the RSVP row atomically.
| Parameter | Type | Description |
|---|---|---|
email * | string | |
event_id * | string | |
name * | string | |
company | ||
linkedin_url | ||
notes | ||
phone | ||
status | string | |
title |
approve_rsvp
Approve a pending RSVP (moves them to yes, or waitlist if at capacity).
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
rsvp_id * | string |
decline_rsvp
Decline a pending RSVP.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
rsvp_id * | string |
check_in_attendee
Mark an attendee as checked in (or undo a check-in). Args: rsvp_id: The contact UUID (from list_rsvps, the `contact_id` field). undo: Set True to reverse a check-in.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
rsvp_id * | string | |
undo | boolean |
reset_rsvp
Reset an attendee's RSVP state (clears check-in + decision). REQUIRES `confirm=True` — this destroys the attendee's RSVP decision and check-in record. With `to="before_invited"` it also flips the invitation draft back to 'draft', which is irreversible from the attendee's perspective (they may have already received the email). Args: to: "invited" rolls back just the RSVP. "before_invited" also flips the invitation draft from 'sent' back to 'draft' so it can be re-sent.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
rsvp_id * | string | |
confirm | boolean | |
to | string |
mark_rsvp
Manually record an attendee's RSVP (going / declined). Does NOT check them in.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
rsvp_id * | string | |
status * | string |
check_in_by_qr_token
Check in an attendee using their per-invite QR token.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
token * | string |
close_registration
Stop accepting new RSVPs for an event.
| Parameter | Type | Description |
|---|---|---|
event_id * | string |
open_registration
Re-open RSVP registration for an event.
| Parameter | Type | Description |
|---|---|---|
event_id * | string |
get_invite_template
Get the host's invitation template (subject + body) for this event. Returns the current template plus the list of available placeholder tokens (e.g. {first_name}, {event_title}, {public_link}). Every `{ … }` block in the template becomes an LLM instruction at render time, so you can also write free-form prompts like `{Add a short personal note here based on their company}`.
| Parameter | Type | Description |
|---|---|---|
event_id * | string |
set_invite_template
Replace the invitation template (subject + body) for this event.
| Parameter | Type | Description |
|---|---|---|
body * | string | |
event_id * | string | |
subject * | string |
generate_invite_draft_for_attendee
Render and save ONE invitation draft for a single attendee, then return that draft so the user can preview it. `template_id`: render from exactly this template (from `list_invite_templates`, the event's own or the org's) instead of letting Pavoot pick one; its follow-ups come with it. `overwrite`: re-render even if they already have a draft (otherwise an existing draft is returned unchanged). Use this when the user asks for an invite for a specific person ("write the invite for Alice", "show me what the draft would look like for Bob"). It's the right tool when the user wants to vet the templ…
| Parameter | Type | Description |
|---|---|---|
crm_contact_id * | string | |
event_id * | string | |
confirm_template | boolean | |
overwrite | boolean | |
template_id | ||
use_conversation | boolean |
generate_invite_drafts
Generate a personalized invitation draft for every confirmed attendee. `use_conversation`: draft from the LinkedIn conversation the team already has with each person. Off by default: only when the user asked for it. `include_invited_elsewhere`: also draft guests already invited another way (Bookface, LinkedIn, by hand). Off by default: bulk drafting skips them so nobody gets a second invitation unasked. Turn it on only when the user chose those people on purpose. `contact_ids`: only these guests (crm_contact_id). Use it for a subset, and on a big event pass ~50 per call: the whole list in o…
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
confirm_template | boolean | |
contact_ids | ||
include_invited_elsewhere | boolean | |
use_conversation | boolean |
list_invite_drafts
List one channel's invitation drafts for an event with subject, body, status and `approved_at` (null = not approved, so send-all skips it). `drafted_for_name` / `drafted_for_user_id`: written for that teammate, who alone approves and sends it (`draft_invites_for_teammate`); `drafted_for_me` says whether that's you. Email drafts written from a template with follow-ups also carry `followups` [{position, wait_minutes, in_thread, subject, body, status, send_at (when it goes, once the invitation is sent), sent_at, open_count, replied_at}] and `followups_state` ({status, stop_label} once scheduled).…
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
channel | string | |
format | string |
update_invite_draft
Edit one invitation draft. Refuses to edit drafts that are already 'sent'. Personalize WITHIN the existing draft's structure — do NOT rewrite the body from scratch in your own voice. The rendered body already contains: - the host's tone (carried over from the chosen invite template) - the real public RSVP link (a resolved `{public_link}` URL — anything you invent here will be wrong) - the unsubscribe / event-details footer Recipe: call `list_invite_drafts` to read the current `body`, then write back a body that PRESERVES the URL, footer, and overall structure, changing only th…
| Parameter | Type | Description |
|---|---|---|
draft_id * | string | |
event_id * | string | |
body | ||
subject |
regenerate_invite_draft
Re-render a single invitation draft from the current template. `use_conversation`: draft from the LinkedIn conversation the team already has with them. Off by default: only when the user asked for it. REQUIRES `confirm=True` — host edits captured in the draft body will be overwritten. The status flips back to 'draft' even if the row was previously 'edited'. Sent drafts are refused server-side (no need to special-case here).
| Parameter | Type | Description |
|---|---|---|
draft_id * | string | |
event_id * | string | |
confirm | boolean | |
use_conversation | boolean |
send_invite_draft
Send one invitation draft to its recipient via the user's configured email provider (the default platform sender, or Gmail if the user connected one). On success: stamps `sent_at`, flips status to 'sent', and promotes the recipient's RSVP from 'selected' to 'invited' so the dashboard reflects "email sent, awaiting reply". On failure: leaves the draft as-is and returns a structured error code so the user can fix the underlying issue (no recipient email, suppression list, provider auth, etc.). REQUIRES `confirm=True` — this is a real outbound email. Read the draft first (subject + recipient…
| Parameter | Type | Description |
|---|---|---|
draft_id * | string | |
event_id * | string | |
confirm | boolean |
send_all_invite_drafts
Send every APPROVED, not-yet-sent invitation email draft. `include_invited_elsewhere`: also send to guests already invited another way (skipped by default). Only when the user chose them on purpose. `contact_ids`: only these guests' drafts (crm_contact_id, as on the event's list), the way the app sends to a filtered list. `sender_id` (from `list_senders`) picks the mailbox; omitted, the default for invitations. Follow-ups only run when sent from the host's own mailbox. Unapproved drafts stay in Review and are not sent — approve them with `approve_invite_draft` / `approve_all_invite_drafts…
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
confirm | boolean | |
contact_ids | ||
include_invited_elsewhere | boolean | |
sender_id |
list_companies
List companies in the CRM with their founders. Each company entry: name, one_liner, industries, location, website, email, and a list of founder dicts (name, title, bio, profile_url).
| Parameter | Type | Description |
|---|---|---|
format | string | |
scope | string |
list_people
List every person in the CRM with their enrichment status. Each entry: id, name, title, linkedin_url, company_name, enrich_status ("pending" / "enriched" / "not_found"), and enriched_data (emails, skills, work history, education — when enriched).
| Parameter | Type | Description |
|---|---|---|
format | string |
get_person
Get one CRM person by id (full enriched record, same shape as list_people entries).
| Parameter | Type | Description |
|---|---|---|
person_id * | string |
suggest_events
Get 7 AI-suggested event ideas tailored to the current CRM batch. Args: include_people: Include founder backgrounds in the prompt for richer suggestions (slower; more tokens used).
| Parameter | Type | Description |
|---|---|---|
include_people | boolean | |
scope | string |
get_attendee_suggestions
Find best-fit companies for a specific event idea. Args: industries: Industry tags to match (e.g. ["AI", "Developer Tools"]). keywords: Substrings to look for in company one-liners and descriptions.
| Parameter | Type | Description |
|---|---|---|
industries * | array | |
keywords * | array | |
limit | integer | |
scope | string |
get_event_analytics
Get post-event analytics for an event. Returns: per-status RSVP counts, the funnel (views → RSVPs → confirmed → attended), 30-day views_by_day and rsvps_over_time sparklines, and UTM traffic-source breakdowns.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
format | string |
get_views_timeline
WHEN the event page's views came in, per traffic source. `get_event_analytics` gives totals per source and views per day for all sources together; this splits them: one series per source with a point per hour or day ("the bookface clicks came Nov 2, 6-9 PM"). Sources match the analytics traffic table: a tagged link is its utm_source/medium/campaign (`bookface`, `bookface` + campaign `repost`), an untagged view on a personal invite link is the channel that sent it ("Invited via LinkedIn"), anything else is `direct`. Raw history: the table's per-row reset baselines are not applied. Args:…
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
bucket | string | |
days | integer | |
format | string | |
source | ||
tz |
list_followup_drafts
List the current per-segment follow-up email drafts. Segments: attended, noshow (RSVP'd but didn't show), waitlist, declined.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
format | string |
generate_followup_emails
Generate per-segment follow-up email drafts via AI. Uses the host's post-event notes verbatim where they're concrete. Bodies always contain `{name}` as a placeholder for the recipient's first name (filled in at send time). Args: segments: Defaults to ["attended", "noshow"]. Other options: "waitlist", "declined". overwrite: Replace existing drafts (True) or skip segments that already have a body (False).
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
overwrite | boolean | |
segments |
update_followup_draft
Edit one segment's follow-up draft (subject and/or markdown body).
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
segment * | string | |
body_md | ||
subject |
list_attendee_followups
List per-attendee follow-up drafts for an event. Each entry: contact_id, name, company, email, segment, subject, body_md, template_id/name, notes (any per-attendee notes captured during the event), and generated_at / updated_at timestamps.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
format | string |
generate_attendee_followups
Generate personalized follow-ups per attendee, using their per-event notes. The LLM picks a template from your library (post-event templates) per attendee based on the template `rule_definition`, then writes the email with that template's content as a starting point. Args: segments: Defaults to ["attended"]. Options: attended, noshow, waitlist, declined. overwrite: Default False — only fills missing drafts. Set True on an explicit "regenerate" action to overwrite host edits. contact_ids: Optional narrow list — only generate for these contacts. Hard cap:…
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
contact_ids | ||
overwrite | boolean | |
segments |
update_attendee_followup
Edit one per-attendee follow-up draft.
| Parameter | Type | Description |
|---|---|---|
contact_id * | string | |
event_id * | string | |
body_md | ||
subject |
get_event_report_url
Return the HTML and PDF URLs of the event recap report. The HTML URL renders in any browser; the PDF URL streams a printable copy. Both require the caller to be authenticated as a member of the event's org — use `create_report_share_link` for a public link.
| Parameter | Type | Description |
|---|---|---|
event_id * | string |
list_followup_templates
List the account's follow-up email templates with their rules and contents.
| Parameter | Type | Description |
|---|---|---|
format | string |
seed_default_templates
Insert the starter "Default" template if the org has none yet (idempotent).
create_followup_template
Create a new follow-up template for the org. Args: name: Display name (unique within the org). rule_definition: Plain-English description of when this template should be used (e.g. "Founders we had a deep conversation with about hiring"). The LLM reads this and matches it to each attendee. content: Template body — supports {{first_name}}, {{event_name}}, {{company}} placeholders. is_default: Make this the account default template (demotes the previ…
| Parameter | Type | Description |
|---|---|---|
name * | string | |
content | string | |
is_default | boolean | |
rule_definition | string |
update_followup_template
Edit a follow-up template. Any field you omit is left unchanged.
| Parameter | Type | Description |
|---|---|---|
template_id * | string | |
content | ||
is_default | ||
name | ||
rule_definition |
delete_followup_template
Delete a follow-up template (account-scoped). REQUIRES `confirm=True`. Hard delete — the template can't be undeleted.
| Parameter | Type | Description |
|---|---|---|
template_id * | string | |
confirm | boolean |
rename_event
Rename an event. Also syncs the draft title used on the public page.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
name * | string |
list_crm_contacts
List the account's CRM contacts with server-side pagination + filters. Args: search: Broad substring match on name/email/company/title (trigram-indexed). For column-specific search use `name_q` / `company_q` / `title_q` instead. source: Comma-separated source list ("rsvp", "import", "enrichment", "global_crm", …). Multiple values are OR-combined. event_id: Restrict to contacts who RSVP'd or attended this event. yc_batch: YC batch — accepts any common shape: "W26", "w26", "W…
| Parameter | Type | Description |
|---|---|---|
company_q | ||
connected_q | ||
custom_q | ||
dir | ||
event_grid | ||
event_id | ||
event_q | ||
events_max | ||
events_min | ||
format | string | |
has | ||
in_network_of | ||
name_q | ||
owner | ||
page | integer | |
page_size | integer | |
score | ||
search | ||
sort | ||
source | ||
stage | ||
tag | ||
title_q | ||
yc_batch | ||
yc_industry |
list_crm_filter_options
Discover the values the CRM filters accept, with contact counts — so a filter for `list_crm_contacts` / `import_crm_contacts_to_event` can be built from real values instead of guessed ones. kind: - "events": org-owned events with guests → ids for `event_q`. - "event_questions": registration questions answered on `event_id` ("*" = any event) → slugs for `event_q` "q.<slug>". - "event_values": values of one event field; `event_id` + `field` ("attendance", "status", or "q.<slug>"). - "connection_owners": teammates who uploaded LinkedIn connections, with how many CRM con…
| Parameter | Type | Description |
|---|---|---|
kind * | string | |
event_id | ||
field |
get_crm_contact
Get one CRM contact by id (full record + linked enrichment + RSVP history).
| Parameter | Type | Description |
|---|---|---|
crm_id * | string |
create_crm_contact
Create a contact in the account's CRM. Upserts on email if one already exists. For bulk imports (>10 rows), use `bulk_import_crm_contacts` instead.
| Parameter | Type | Description |
|---|---|---|
display_name * | string | |
company | ||
email | ||
first_name | ||
last_name | ||
linkedin_url | ||
notes | ||
phone | ||
source | ||
title |
bulk_import_crm_contacts
Bulk-create/upsert CRM contacts in one round-trip. Each contact is a dict with the same fields as `create_crm_contact` (`display_name` required; everything else optional). Upserts on email when present so re-importing the same CSV is idempotent. The web UI uses this for CSV imports — pass the parsed rows directly. Returns `{created, updated, skipped}` counts. A model that wants to import a very large dataset should slice it into chunks: this tool caps at `_BULK_IMPORT_MAX` rows per call (500) so a single request can't time out the worker. Call it repeatedly with consecutive slices if you…
| Parameter | Type | Description |
|---|---|---|
contacts * | array |
update_crm_contact
Update one CRM contact. Any field you omit is left unchanged. Args: display_name / first_name / last_name / email / company / title / linkedin_url / phone / bio: Standard editable contact fields. tags: List of free-text tag strings. Pass `[]` to clear. priority: Free-text priority label (e.g. "high", "warm"). summary: Short blurb shown alongside the contact card. connected_to: "How do we know them?" free-text. stage_id: UUID from `list_crm_stages`. Pass `null`/None to clear; this tool does NOT auto-create stag…
| Parameter | Type | Description |
|---|---|---|
crm_id * | string | |
assignee_name | ||
assignee_user_id | ||
bio | ||
company | ||
connected_to | ||
display_name | ||
email | ||
first_name | ||
last_name | ||
linkedin_url | ||
phone | ||
priority | ||
score | ||
stage_id | ||
summary | ||
tags | ||
title |
delete_crm_contact
Delete a CRM contact. Cascades to their RSVPs and follow-up drafts. REQUIRES `confirm=True`. Read the contact first (`get_crm_contact`) and surface the name + email + linked-event count to the user before retrying with confirm=True.
| Parameter | Type | Description |
|---|---|---|
crm_id * | string | |
confirm | boolean |
get_crm_aggregations
Return aggregate counts (by source, seniority, geography, school, company, field, presence, YC batch) for the /crm page's chart strip. Filters narrow the population; passing none returns aggregates over the entire org CRM. Args: search: Broad substring filter (same semantics as `list_crm_contacts`). source: Comma-separated source list. event_id: Restrict to RSVPs/check-ins of this event. has: Comma-separated presence tokens (AND); same vocabulary as `list_crm_contacts.has`. yc_batch: Comma-separated YC batches. Note: the `by_so…
| Parameter | Type | Description |
|---|---|---|
event_id | ||
has | ||
search | ||
source | ||
yc_batch |
ask_crm
Ask a natural-language question about the account's CRM. Powers the "Ask" chat dock on the /crm page. The server runs a research assistant over the CRM tables and returns the answer plus any structured data it pulled (e.g. matching contacts). Args: question: The user's question, verbatim. conversation_id: Optional id from a previous response to continue the conversation (otherwise the server starts fresh). Charges one LLM call per question.
| Parameter | Type | Description |
|---|---|---|
question * | string | |
conversation_id |
list_invite_templates
List invite templates for one channel, with full subject and body. `channel`: "email" (default), "sms" or "linkedin". Without `event_id`: the org library only (what Settings shows). With it: that EVENT's own templates first (the ones made for this event, e.g. a LinkedIn "S26/F26" template, `event_id` set on each), then the org's, minus any org template this event overrides. That's also the order Pavoot's auto-picker weighs them in. Use this to read an event's template before or after editing it with `update_invite_template`.
| Parameter | Type | Description |
|---|---|---|
channel | string | |
event_id | ||
format | string |
seed_default_invite_templates
Insert the starter invite templates if the org has none yet (idempotent).
create_invite_template
Create a new invite template in the account's template library, or for ONE event (`event_id`). `event_id`: the template belongs to that event only (it shows in the event's Templates, never in other events). Pair it with `is_default=True` to make it the event's default without touching the org default. `channel`: "email" (default), "sms" or "linkedin". `match_conditions`: which guests it applies to, the attendees grid's column filters, `{column id: [values]}` (e.g. `{"ycBatch": ["Summer 2026", "Fall 2026"]}`); values within a column OR, columns AND. `rule_definition`: free-text hint for the au…
| Parameter | Type | Description |
|---|---|---|
body * | string | |
name * | string | |
subject * | string | |
channel | string | |
event_id | ||
followups | ||
is_default | boolean | |
match_conditions | ||
rule_definition | string |
update_invite_template
Edit an invite template. Any field you omit is left unchanged. `followups` REPLACES the template's follow-ups (same shape as in `create_invite_template`; `[]` removes them all). Guests already drafted keep theirs until their invitation is redrafted; ones the host edited are kept even then.
| Parameter | Type | Description |
|---|---|---|
template_id * | string | |
body | ||
followups | ||
is_default | ||
name | ||
subject |
delete_invite_template
Delete an invite template from the org library. REQUIRES `confirm=True`. Hard delete — events that previously used it keep their already-rendered drafts.
| Parameter | Type | Description |
|---|---|---|
template_id * | string | |
confirm | boolean |
source_attendees
Send a message to an event's sourcing chat (the attendees page's sourcing agent) and get its reply. This is how to post a prompt, a re-source request or a follow-up into the sourcing chat; the turn lands in the same chat history the app shows. Continuing the app's chat? Pass ``scope="all_sources"``: that is what the app sends, while an omitted scope searches the CRM only. ⛔ DO NOT USE THIS TOOL IF THE USER INVOKED `/source`. If the user's request came through the `/source` skill (or they explicitly asked for the external / marketplace sourcing), you MUST use `source_search` → `source_get…
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
answers | ||
format | string | |
mode | string | |
prompt | ||
replace_pending | boolean | |
scope | ||
session_id | ||
thread_id |
source_external_attendees
Source attendees through Pavoot's external people-data marketplace. Use the `source_*` tools (this one and `source_search` / `source_get_details` / `source_run`) ONLY when the user invoked the `/source` skill — the MCP `source` prompt (surfaced by the client as `/mcp__pavoot__source`), or an equivalent explicit request to use the external/marketplace sourcing. For ANY ordinary sourcing request that did NOT ask for `/source` — every plain "find me / source me …" prompt — use `source_attendees` (in-house) instead and do NOT call this tool. --- How to fill the filters --- Translate the…
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
companies | ||
country_codes | ||
departments | ||
domains | ||
format | string | |
industries | ||
job_titles | ||
keyword | ||
limit | integer | |
locations | ||
preview_only | boolean | |
replace_pending | boolean | |
reveal_contacts | boolean | |
seniorities |
find_people
Freeform people search — NOT tied to any event. Use when the user wants to scope out candidates before deciding which event to put them on, or just wants to research who matches a brief. --- Pick the source FIRST (don't pick for them) --- Two places people can come from. On a brand-new request (no ``chat_id``, no ``source``) this tool returns ``status="needs_clarification"`` with a single question whose two options are: * ``"From my Pavoot CRM"`` (``value="crm"``) — search contacts the user already has saved in Pavoot. * ``"New people from the web"`` (``value="new"``) — source f…
| Parameter | Type | Description |
|---|---|---|
prompt * | string | |
chat_id | ||
format | string | |
source |
push_people_to_event
Commit candidates from a ``find_people`` chat onto a real event's pending proposals. Reuses the same persistence path the in-house Crustdata agent and the event-scoped Orthogonal chat already use, so the rows land in the event's pending proposals exactly like any other agent-sourced candidate and show up in ``get_proposed_attendees`` and the attendees-page review UI. Two ways to pick which candidates to push: * ``all=True`` (most common): push EVERY candidate currently on the chat's proposal list. Use this when the user has decided the whole shortlist is good. * ``people=[{...}, .…
| Parameter | Type | Description |
|---|---|---|
chat_id * | string | |
event_id * | string | |
all | boolean | |
confirm | boolean | |
people |
list_find_people_chats
List the user's saved freeform people-sourcing chats (most-recently updated first, capped at 50). Each chat is a prior ``find_people`` conversation that may also have candidates accumulated on it. Returns a list of: {"id": "...", "title": "...", "message_count": N, "created_at": "...", "updated_at": "..."} Use this when the user says something like "did I look into AI infra people last week?" or "show me my prior sourcing chats" — offer the titles, let them pick one, and continue with ``find_people(prompt, chat_id=<picked id>)``. Or call ``load_find_people_chat(chat_id)`` first to see…
| Parameter | Type | Description |
|---|---|---|
format | string |
load_find_people_chat
Load one freeform people-sourcing chat's full transcript so you can show it to the user (or refresh your own context before continuing). Returns: {"id": "...", "title": "...", "messages": [{"role": "user"|"assistant", "content": "..."}, ...], "created_at": "...", "updated_at": "..."} Note: this loads the conversational transcript only. To see the candidates that have been proposed inside this chat, send a follow-up ``find_people(prompt="recap the people you found so far", chat_id=...)`` — the agent reads the persisted proposals and returns them in the response. Or just continue the…
| Parameter | Type | Description |
|---|---|---|
chat_id * | string | |
format | string |
delete_find_people_chat
Delete one of the user's freeform people-sourcing chats and every candidate accumulated on it. Irreversible — the transcript AND the chat's saved proposals are gone for good. (Candidates already PUSHED to an event via ``push_people_to_event`` live on the event itself, not on the chat, so they are NOT affected.) Behind a confirmation gate: describe the chat to the user in plain English first (title + last-updated date — call ``list_find_people_chats`` if you don't have it), then call again with ``confirm=True``.
| Parameter | Type | Description |
|---|---|---|
chat_id * | string | |
confirm | boolean |
source_search
Find a people-data / enrichment API by describing what you need. Use only within the `/source` flow. First step of the discover→use flow: describe the capability in free-text (`prompt`) and get back matching marketplace APIs, each with an `api` slug + endpoint `path`. Pick one, inspect it with `source_get_details`, then call it with `source_run`. Returns the provider's full raw result list verbatim; show it to the user as-is.
| Parameter | Type | Description |
|---|---|---|
prompt * | string | |
limit |
source_get_details
Get the full parameter schema for one marketplace endpoint. Use only within the `/source` flow. Second step of discover→use: pass the `api` slug + endpoint `path` from `source_search` and get back the endpoint's method and pathParams / queryParams / bodyParams so you know exactly how to shape the `body`/`query` for `source_run`. Returns the provider's full raw schema verbatim.
| Parameter | Type | Description |
|---|---|---|
api * | string | |
path * | string |
source_list_apis
Browse the catalog of available marketplace APIs (paginated). Use only within the `/source` flow. An alternative to `source_search` when you want to scan everything that's available rather than search by description. Returns the full raw catalog verbatim.
| Parameter | Type | Description |
|---|---|---|
limit | ||
offset |
source_run
Execute a marketplace API call — the final step of discover→use. Use only within the `/source` flow. Call the endpoint you found via `source_search` / `source_get_details`. Pass the `api` slug, endpoint `path`, and the `body` (request body params) and/or `query` (query-string params) shaped per `source_get_details`. Optionally pass `event_id` to attribute the run to an event. Confirm the call with the user first and don't loop on it unattended. Returns ``{"data": <provider payload>}`` — the full raw response, shown verbatim.
| Parameter | Type | Description |
|---|---|---|
api * | string | |
path * | string | |
body | ||
event_id | ||
query |
get_email_prefs
Get the user's email-sending preferences (provider, display name, reply-to, BCC, Gmail connection status).
update_email_prefs
Update the user's email-sending preferences. Any field omitted is unchanged. `reply_to` is where replies to Pavoot-domain mail go. `bcc_self` copies the user on mail they send. Switching `provider` to "gmail" requires `start_gmail_oauth` to have completed first; otherwise sends fall back to the default platform sender.
| Parameter | Type | Description |
|---|---|---|
bcc_self | ||
display_name | ||
provider | ||
reply_to |
send_test_email
Send a test "Hello from Pavoot" email through the user's configured provider. Args: to_email: Optional recipient (defaults to the caller's own email). dry_run: Default TRUE for safety from chat — pass `False` to actually dispatch. Dry runs skip the provider. confirm: Required when dry_run=False. The two-step prevents the model from accidentally emailing arbitrary addresses. Use this to verify Gmail works after connecting, or to confirm the platform email provider is configured. Returns the resulting send log row.
| Parameter | Type | Description |
|---|---|---|
confirm | boolean | |
dry_run | boolean | |
to_email |
send_test_sms
Send a test SMS / iMessage to a phone number through AgentPhone. Args: to_number: Recipient in E.164 format, e.g. +14155552671 (required — there is no default phone number on the account). first_name: Optional first name — personalizes the greeting ("Hi Sarah! ...") so it reads less like spam. dry_run: Default TRUE for safety from chat — pass `False` to actually dispatch. Dry runs skip the provider. confirm: Required when dry_run=False. The two-step prevents the model from accidentally texting arbitra…
| Parameter | Type | Description |
|---|---|---|
to_number * | string | |
confirm | boolean | |
dry_run | boolean | |
first_name |
list_email_sends
Read the account's email send log log (newest first). Filters: event_id: Restrict to one event. status: "sent" | "delivered" | "bounced" | "complained" | "failed". limit: 1–200 (API caps higher values; 50 default matches the API). offset: 0-indexed offset for pagination. Combine with `limit` to walk further back than the most recent 200 sends.
| Parameter | Type | Description |
|---|---|---|
event_id | ||
format | string | |
limit | integer | |
offset | integer | |
status |
start_gmail_oauth
Begin the Gmail OAuth flow. Returns `{authorize_url}` — give that URL to the user; they open it in a browser, sign in to Google, and the callback (handled by the API, not the MCP) stores the encrypted tokens. Then check `get_gmail_status` and update_email_prefs(provider="gmail") to start sending via Gmail. Args: redirect_to: Optional URL to send the user to after callback (e.g. /settings/email). Defaults to the API's settings page.
| Parameter | Type | Description |
|---|---|---|
redirect_to |
get_gmail_status
Get the user's current Gmail connection status.
disconnect_gmail
Disconnect the user's Gmail account (revokes Pavoot's stored tokens). REQUIRES `confirm=True`. The user will need to redo the connection flow to reconnect; the email-sending preference is automatically flipped back to the default platform sender on disconnect.
| Parameter | Type | Description |
|---|---|---|
confirm | boolean |
get_cover_image
Get the freshly signed cover-image URL for an event (None if no cover).
| Parameter | Type | Description |
|---|---|---|
event_id * | string |
generate_cover_image
Generate an AI cover image and store it for the event. Args: prompt: Optional custom prompt. Default uses the event's title + description for context. run_async: Default TRUE — returns 202 immediately; the image appears once the background task completes (poll with `get_cover_image`). Pass False to wait synchronously (slower; only useful for scripts).
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
prompt | ||
run_async | boolean |
delete_cover_image
Clear the event's cover image (reverts to the gradient fallback). REQUIRES `confirm=True`. The image bytes themselves stay in object storage; this just unlinks the event from the cover.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
confirm | boolean |
enrich_rsvp
Hydrate one RSVP via the configured enrichment provider. `rsvp_id` is the contact UUID. Requires the contact to have either an external enrichment identifier or a `linkedin_url` already on file.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
rsvp_id * | string |
list_invite_draft_chat_images
List notetaker chat-image notes attached to the draft's contact. Used by the draft editor's "insert image" picker. Returns `{"images": [...]}` where each image has a signed URL and capture metadata from the prior events the contact attended.
| Parameter | Type | Description |
|---|---|---|
draft_id * | string | |
event_id * | string |
send_attendee_followup
Send one personalized follow-up email to a single attendee. Real outbound email. Reads the draft, sends via the user's configured provider, stamps the row as 'sent'. Idempotent — already-sent rows return their last `email_sends` record. REQUIRES `confirm=True`. Read the draft (`list_attendee_followups`) first and surface recipient + subject before retrying with confirm=True.
| Parameter | Type | Description |
|---|---|---|
contact_id * | string | |
event_id * | string | |
confirm | boolean |
send_segment_followup
Send the segment follow-up email to every contact in that segment. Same body goes to everyone (no personalization). For personalized sends use `send_attendee_followup` per contact instead. REQUIRES `confirm=True`. Always count the segment first (via `list_followup_drafts` + segment counts on the dashboard) and surface the recipient count to the user.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
segment * | string | |
confirm | boolean |
get_report_doc
Get the structured recap report document (HTML body + metadata).
| Parameter | Type | Description |
|---|---|---|
event_id * | string |
update_report_doc
Save host edits to the recap report. Pass only what changed. `content_html` is the report body and overwrites any AI-generated draft. `custom_notes` is the host's free-text addendum; `factors` is the structured scoring block. All three are optional server-side, so an empty call saves nothing rather than blanking the report.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
content_html | ||
custom_notes | ||
factors |
generate_report_doc
Generate a recap report document via AI from the event's analytics + notes + follow-up drafts. Overwrites any existing doc body.
| Parameter | Type | Description |
|---|---|---|
event_id * | string |
list_attendee_followup_chat_images
List notetaker chat-image notes attached to one attendee for this event. Used by the per-attendee follow-up editor's "insert image" picker. Returns `{"images": [...]}`.
| Parameter | Type | Description |
|---|---|---|
contact_id * | string | |
event_id * | string |
get_event_report_html_url
Return the HTML recap URL (member-only, requires a signed-in browser session).
| Parameter | Type | Description |
|---|---|---|
event_id * | string |
get_event_report_pdf_url
Return the PDF recap URL (member-only, requires a signed-in browser session).
| Parameter | Type | Description |
|---|---|---|
event_id * | string |
get_notetaker_profile
Get the notetaker view of the current user (id, color, photo, etc.). Same identity as `whoami` but with the notetaker-specific fields used by the notes UI (color tag, profile photo URL).
add_walkin_attendee
Add a walk-in attendee at the event (creates CRM row, RSVP, and check-in). Use this for people who showed up unannounced — fastest path from "this person is here" to "they're in our notes". Returns the attendee's UUID so you can immediately call `add_attendee_note`.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
name * | string | |
company | ||
email | ||
linkedin_url | ||
phone | ||
title |
retranscribe_note
Re-run transcription on a voice note. REQUIRES `confirm=True`. Transcription is billed per-minute; usually only needed if the original transcription was bad (unclear audio, speaker drift). Returns the new transcript.
| Parameter | Type | Description |
|---|---|---|
note_id * | string | |
confirm | boolean |
update_signature
Update the user's email signature. Args: signature_html: HTML signature appended to outgoing emails. Pass empty string ("") to clear. signature_auto_include: When True, the signature is auto-appended to every send (invitations, follow-ups, test). When False, sends go out without a signature unless the body includes `{signature}`. Pass only the fields you want to change.
| Parameter | Type | Description |
|---|---|---|
signature_auto_include | ||
signature_html |
list_org_members
List teammates in the caller's organization (for assignee pickers). Returns `{members: [{id, name, email, color, profile_photo_key}]}`. Empty `members` if the user has no org.
get_org_visible_columns
Get the org-wide list of optional columns shown on the attendees grid. Returns `{columns: [...]}` — currently only "connected_to" is accepted by the server; future column toggles will appear here.
set_org_visible_columns
Set the org-wide list of optional columns shown on the attendees grid. Args: columns: List of column slugs to show. Values outside the server's allowlist are silently dropped; the response is the filtered + sorted list actually stored.
| Parameter | Type | Description |
|---|---|---|
columns * | array |
approve_pre_event_agent
Resolve a pending approval gate from `pre_event_agent`. The pre-event planning agent can pause mid-run to ask the host whether it should run a heavy action (e.g. enrichment, bulk email send, irreversible draft regeneration). When that happens the agent's stream emits an approval payload with an `approval_id` and waits. Call this tool with `decision="allow"` or `decision="deny"` to release the gate so the agent can continue. Args: approval_id: Id from the pending approval payload. decision: "allow" lets the agent run the tool as proposed; "deny" cancels the pending…
| Parameter | Type | Description |
|---|---|---|
approval_id * | string | |
decision * | string | |
event_id * | string | |
edited_args | ||
reason |
highlight_attendee
Star (or unstar) a proposed attendee. Highlighted proposals are visually pinned in the planning grid and also surfaced on the live-event attendee list. Mirrors to the matching RSVP row if the attendee has already RSVP'd. Args: id: Proposal id from `get_proposed_attendees` (NOT the underlying CRM contact id). highlighted: True to star, False to unstar.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
highlighted * | boolean | |
id * | string |
bulk_import_attendee_proposals
CSV-style bulk import of proposed attendees onto an event's PROPOSAL QUEUE (pre-event planning step). Usually NOT what you want: these rows appear neither in the attendee table nor in the Sourcing table until someone runs `confirm_attendees`. To add people to the attendee table, use `bulk_import_rsvps`; to add them to the Sourcing table with criteria columns, use `add_to_sourcing_table`. Each row needs `name` and either `email` or `linkedin_url`. Rows are upserted into the CRM (so future events can reach them too) and added to the event's proposal list with `source='crm'` and `proposed_by='c…
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
rows * | array |
set_attendee_source_mode
Switch the attendee-source mode from the planning header. Different from `set_target_group_source` (`crm` vs `research`): this is the entry-flow / draft preference that controls whether the planning surface presents CRM-only, online-sourcing-only, or a combined experience. Useful when the user changes their mind mid-planning without re-running the wizard. Returns the current `attendee_source` list plus the refreshed entry-flow / target-group state.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
mode * | string |
save_landing_page_theme
Save the public landing-page theme JSON (colors, fonts, sizes, …). Replaces the entire `draft.landing_page_theme` blob (not a deep merge), so always send the full theme you want to keep. The public event page at /e/{token} renders from this blob. Args: landing_page_theme: Arbitrary JSON object — the schema is intentionally loose so the host app can evolve it without API changes. Returns `{ok: True, landing_page_theme: {...}}` with the stored value.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
landing_page_theme * | object |
save_custom_hosts
Curate the "Hosted by" block on the public event page. Each entry in `hosts` is one of: `{type: "user", user_id: <org user uuid>}` `{type: "custom", name: <str>, title?: <str>}` Pass `hosts=[]` to clear (the public page will then show the event's primary host only). Best-effort syncs to Luma when the event is linked. Returns `{ok, custom_hosts, luma_sync}`.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
hosts * | array |
list_sourcing_proposals
List the sourcing agent's still-pending proposals for an event. These are people the embedded sourcing agent surfaced in a previous `source_attendees` turn that haven't been approved / declined yet. Use this to re-hydrate a session after a refresh or to show "here's what the agent already found" before kicking off another round. Returns `{rows: [...]}` — each row carries proposal_key, linkedin_url, name, title, company, score (0-100), why, email, avatar_url, location, yc_batch. `proposal_key` is what `review_sourcing_proposals` takes; it differs from linkedin_url for CRM contacts that have…
| Parameter | Type | Description |
|---|---|---|
event_id * | string |
add_to_sourcing_table
Add people you found yourself (research, a list, another tool) straight into the event's SOURCING table, with score, reason and criteria columns, exactly like rows the sourcing agent writes. The host then reviews, approves or skips them there. Nothing is sent to anyone. Use THIS for "put these people in the sourcing table". To put people on the attendee table directly, use `bulk_import_rsvps` instead. Each person (max 500 per call): `name` (required), `linkedin_url` (required: the table's key; must be a linkedin.com/in/ profile), `email`, `title`, `company`, `company_domain`, `company_…
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
people * | array |
get_sourcing_chat_history
Get the persisted sourcing-agent chat history for an event. Read-only. To SEND a message into this chat, use `source_attendees` (same conversation; pass `thread_id` to target a thread). Returns `{messages: [...], session_id, active_run}`. `active_run` is `null` when no run is in flight, otherwise `{run_id, status, event_count}`. Use the `run_id` with `cancel_sourcing_run` to abort a run that's taking too long.
| Parameter | Type | Description |
|---|---|---|
event_id * | string |
cancel_sourcing_run
Cancel an in-flight sourcing-agent run. Use the `run_id` from `get_sourcing_chat_history().active_run`. Returns `{cancelled: bool}` — `false` if the run already finished before the cancellation reached it. Then send the next message with `source_attendees`.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
run_id * | string |
delete_rsvp
Remove an RSVP from an event. REQUIRES `confirm=True`. Deletes the RSVP row and any matching check-in. The underlying CRM contact is preserved — they just no longer appear on this event.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
rsvp_id * | string | |
confirm | boolean |
set_rsvp_status
Set the RSVP status to any of the full vocabulary. `status`: selected | invited | maybe | pending | yes | no | waitlist | declined | attended, or one of the event's own statuses (`custom:<slug>`, e.g. `custom:invite_later`). Those come from `add_custom_rsvp_status` or a Partiful sync; they're neutral (not going, not invited or reminded). An unknown one is refused (422). Broader than the older `mark_rsvp` (yes/no only) and `approve_rsvp` / `decline_rsvp` (pending-only). Setting "attended" is equivalent to status='yes' + check-in; any other status removes the check-in row. Returns `{rsvp, cou…
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
rsvp_id * | string | |
status * | string |
add_custom_rsvp_status
Add the host's own RSVP status to this event, e.g. "Invite later", offered in the guest list's status menu from then on. Returns `{status, label, custom_statuses}`: `status` is the value to pass to `set_rsvp_status` (`custom:invite_later`). Neutral everywhere a core status means something: not going, not in the approval queue, not invited or reminded, no email fires. Adding an existing one returns it. Main host only (403 for a co-host).
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
label * | string |
highlight_rsvp
Star (or unstar) an RSVP. Returns `{rsvp, counts}`.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
highlighted * | boolean | |
rsvp_id * | string |
set_rsvp_avatar_from_linkedin
Pull the attendee's LinkedIn profile photo and set it as their avatar. Requires the attendee to have a LinkedIn URL on file. 404 if no photo is available. Returns `{rsvp, counts}`.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
rsvp_id * | string |
set_rsvp_avatar_from_url
Set an attendee's avatar from an arbitrary http(s) URL. For multipart upload of a local file, use the Pavoot web app — this tool only accepts a URL. Returns `{rsvp, counts}`.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
rsvp_id * | string | |
url * | string |
bulk_import_rsvps
Add people to an event's ATTENDEE TABLE (CSV-style bulk import). Use THIS for "add these people to the attendees / invite list". Only adds: nobody already on the event is removed, and someone already further along (invited, going) keeps their status. Default status `selected` shows as "On invite list". Nothing is sent to anyone. Each row needs `name` and ideally `email`. Rows are upserted into the CRM and onto the event with the requested `status`. Args: rows: Row dicts. Recognized keys: `name` (required), `email`, `company`,…
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
rows * | array | |
column_definitions | ||
status | string |
list_rsvp_custom_columns
List the host-defined custom columns shown on the attendees grid. Returns `{custom_columns: [{id, slug, label, value_type, display_order, featured}]}`. Values for each column live on the RSVP rows under `custom_fields[slug]`.
| Parameter | Type | Description |
|---|---|---|
event_id * | string |
update_rsvp_custom_column
Edit one custom column's label / type / order / featured-flag. At least one field is required. Note: there is no separate "create column" endpoint — new columns are created by passing `column_definitions` to `bulk_import_rsvps`.
| Parameter | Type | Description |
|---|---|---|
column_id * | string | |
event_id * | string | |
display_order | ||
featured | ||
label | ||
value_type |
delete_rsvp_custom_column
Delete a custom column and strip its values from every RSVP. REQUIRES `confirm=True`. The column definition is removed and any `custom_fields[slug]` entry is dropped from every RSVP row.
| Parameter | Type | Description |
|---|---|---|
column_id * | string | |
event_id * | string | |
confirm | boolean |
set_notetaker_audiences
Set which attendee segments the notetaker recorder targets. The notetaker app filters down to attendees in any of the selected segments. Pass one or more — the API dedupes and preserves order. At least one segment is required. The older single-audience setter (`set_notetaker_audience`) is not exposed via MCP because callers should always be able to pick multiple segments; this multi-version mirrors that legacy value too for backwards compatibility on the server side.
| Parameter | Type | Description |
|---|---|---|
audiences * | array | |
event_id * | string |
get_post_event_insights
Get the cached post-event insights for an event. Returns `{summary_md, highlights, recap_md, recap_generated_at, generated_at, updated_at}`. Highlights are categorized into `hot_lead`, `top_conversation`, `repeat_attendee`, `vip_followup`, `action_needed` with a severity and a "why / next step". If insights haven't been generated yet most fields will be empty — call `generate_post_event_insights` to fill them.
| Parameter | Type | Description |
|---|---|---|
event_id * | string |
generate_post_event_insights
Generate AI insights from the event's RSVPs, notes, and analytics. Re-runs the LLM categorizer over the event's data and returns the refreshed payload (same shape as `get_post_event_insights`). Use this when the user wants a fresh take after they've added notes or changed attendees. `force` is reserved for future caching behaviour — today the generator runs unconditionally.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
force | boolean |
generate_post_event_insights_recap
Generate the short markdown recap blurb that sits above the insights. Updates `recap_md` / `recap_generated_at` on the insights payload. Returns the full insights payload.
| Parameter | Type | Description |
|---|---|---|
event_id * | string |
generate_post_event_notes_from_event
AI-draft the host's post-event notes from event data. Pulls together RSVP counts, check-ins, notetaker notes, and any captured highlights, then drafts a markdown notes block the host can edit. Returns `{notes: str}`. Save the result via `set_post_event_notes` if the host approves.
| Parameter | Type | Description |
|---|---|---|
event_id * | string |
summarize_attendee_followup_notes
Summarize the notes captured on one attendee into a short blurb. Used in the follow-up composer to give the host a quick recap of "what we talked about" before drafting the email. Returns `{summary_md: str}`.
| Parameter | Type | Description |
|---|---|---|
contact_id * | string | |
event_id * | string |
assist_report_doc
AI-assist editing of the post-event recap doc. Two modes (auto-detected from `selection_html`): - **selection** — `selection_html` is set: rewrites just that snippet according to `instruction`. The result is NEVER auto- saved (the host pastes it back manually). - **document** — `selection_html` is unset: rewrites the entire `full_html`. When `save=True` (default) the rewritten HTML is persisted as the new recap doc; pass `save=False` for a dry- run. Returns `{html, mode}` where `mode` is "selection" or "document". A 429 means rewriting isn't available right now;…
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
instruction * | string | |
full_html | string | |
save | boolean | |
selection_html |
ai_edit_email
AI rewrite the body of an email or template per a free-text prompt. Powers the "Edit with AI" button on every email surface in the Pavoot web app. Sends the current body + prompt to the LLM with surface-specific guardrails (e.g. preserves `{first_name}` / `{public_link}` placeholders in `invite_template` mode). Args: body: Current body content (max 24000 chars). prompt: Instruction (max 2000 chars). format: "html" or "markdown" — match the surface you're editing. subject: Optional subject line for context (max 400). s…
| Parameter | Type | Description |
|---|---|---|
body * | string | |
prompt * | string | |
event_name | ||
format | string | |
recipient_name | ||
subject | ||
surface | string |
get_attendee_followup
Get the per-attendee follow-up composer payload for one attendee. Returns `{recipient, draft, sender}`. `draft` is `null` when no draft exists yet (call `generate_attendee_followups` to create one). When present, `draft` carries `subject`, `body_md`, `linkedin_md`, `status`, `sent_at`, and the template the draft was rendered from.
| Parameter | Type | Description |
|---|---|---|
contact_id * | string | |
event_id * | string |
list_prior_email_sends
List prior email sends to one attendee (across all events). Used in the follow-up composer's "we've already emailed them about X" sidebar. Returns `{sends: [{id, attendee_id, source_kind, subject, body, sender_name, sent_at}]}` — up to 20 most recent successful sends.
| Parameter | Type | Description |
|---|---|---|
attendee_id * | string | |
event_id * | string |
list_linkedin_templates
List the account's reusable LinkedIn message templates. Returns `{templates: [...], presets: [{label, rule}, ...]}`. Each template has `id`, `name`, `rule_definition` (free-text spec the LLM follows when rendering), `content`, `is_default`, `created_at`, `updated_at`.
| Parameter | Type | Description |
|---|---|---|
format | string |
seed_default_linkedin_templates
Insert the starter LinkedIn templates if the org has none yet (idempotent).
catch_up_linkedin_accepts
Make Pavoot notice connection requests that were accepted but still show as "Request sent", so the campaign's follow-up messages go out. Use when the host says "people accepted but nothing was sent". Reads the caller's OWN LinkedIn account's newest connections and marks every match as accepted (the same path LinkedIn's live signal uses). Messages are then sent by the normal queue on its usual schedule; nothing is sent by this call itself. Returns `{checked, accepted, still_pending, names}`. A 409 means the LinkedIn account must be reconnected first (Settings -> LinkedIn).
create_linkedin_template
Create an org-wide LinkedIn message STYLE template (a rule the AI follows when drafting LinkedIn messages; applies to everyone). For an invitation message for ONE event, or one that only goes to some guests (e.g. "people with an empty YC batch"), use `create_invite_template(channel="linkedin", event_id=..., match_conditions={"ycBatch": ["__blank__"]})` instead. Column ids and the "is empty" value come from `list_invite_template_condition_columns` and `list_invite_template_condition_values`. Args: name: Display name. rule_definition: Free-text spec for the LLM ("3 short lin…
| Parameter | Type | Description |
|---|---|---|
name * | string | |
content | string | |
is_default | boolean | |
rule_definition | string |
update_linkedin_template
Edit a LinkedIn template. Any field you omit is left unchanged.
| Parameter | Type | Description |
|---|---|---|
template_id * | string | |
content | ||
is_default | ||
name | ||
rule_definition |
delete_linkedin_template
Delete a LinkedIn template from the org library. REQUIRES `confirm=True`.
| Parameter | Type | Description |
|---|---|---|
template_id * | string | |
confirm | boolean |
list_attendee_note_counts
Per-attendee note counts for an event. Returns a list of `{id, note_count}` where `id` is the crm_contact_id. Scoped to the event's notetaker audiences.
| Parameter | Type | Description |
|---|---|---|
event_id * | string |
get_attendee_profile
Full notetaker profile card for one attendee on one event. Bundles CRM fields, enrichment, global-person blob, event-specific custom-column definitions, and audit metadata. `attendee_id` is the crm_contact_id.
| Parameter | Type | Description |
|---|---|---|
attendee_id * | string | |
event_id * | string |
enrich_attendee_profile
Enrich one notetaker attendee via Apollo and return the refreshed profile. No-ops gracefully when the attendee has no LinkedIn URL or email to enrich from (returns the unchanged profile). 400 if the attendee is already linked to a global person — re-enrich the global record instead. Returns the same shape as `get_attendee_profile`.
| Parameter | Type | Description |
|---|---|---|
attendee_id * | string | |
event_id * | string |
summarize_attendee_bio
Generate (or fetch) a short one-paragraph bio summary for an attendee. Caches the result on the CRM contact row, so re-calling is cheap. Returns `{summary_short: str | null}`.
| Parameter | Type | Description |
|---|---|---|
attendee_id * | string | |
event_id * | string |
export_notetaker_event
Export every note for every attendee on an event. Returns `{event_id, exported_at, attendee_count, note_count, attendees: [{id, name, ..., notes: [...], note_count}]}`. Great for end-of-event recap emails or archiving.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
format | string |
delete_attendee_note
Delete one attendee note. REQUIRES `confirm=True`. Only the original author can delete a note (403 otherwise).
| Parameter | Type | Description |
|---|---|---|
note_id * | string | |
confirm | boolean |
list_crm_companies
List companies in the account's CRM (org CRM, not the YC directory). Different from `list_companies` (which queries the public YC company directory): this one surfaces the companies that CRM contacts work for, with `person_count` and `attending_count` for any given event. Args: search: Substring on display name / domain. event_id: Attribute `attending_count` to this event. source: Comma-separated CRM contact sources to roll up from ("rsvp", "import", …). has: Comma-separated presence tokens (AND). yc_batch: Comma-separated YC bat…
| Parameter | Type | Description |
|---|---|---|
dir | ||
event_id | ||
has | ||
page | integer | |
page_size | integer | |
search | ||
sort | ||
source | ||
yc_batch | ||
yc_industry |
list_crm_company_people
List the people in one CRM company (drill-down from the companies grid). Args: company_id: UUID or `name:<base64url>` slug (the latter is what `list_crm_companies` returns for name-only groups). event_id: When set, restricts to approved/confirmed proposals for this event. limit: 1-500, default 100. Returns `{company_id, items: [{id, display_name, title, email, linkedin_url, avatar_url, proposal_status, rsvp_status, checked_in}], total}`.
| Parameter | Type | Description |
|---|---|---|
company_id * | string | |
event_id | ||
limit | integer |
enrich_crm_company
Enrich one CRM company (resolves domain, fetches firmographic data). Both override fields are optional — pass them when the system can't auto-resolve a name-only group to a domain or LinkedIn URL. A `200` response with `needs_domain: true` means the name group couldn't be resolved; surface the message to the user and re-call with `domain_override` set. Returns `{company, needs_domain, message, previous_id}`. `previous_id` is set when a name-only group got merged into an enriched company row — update any local references to point at `company.id` instead.
| Parameter | Type | Description |
|---|---|---|
company_id * | string | |
domain_override | ||
linkedin_override |
update_crm_company
Edit metadata on one CRM company. Any field you omit is left unchanged. Empty strings clear the field (NULL). `company_id` must be a UUID — name-only groups can't be patched directly; enrich them first to materialize a real row.
| Parameter | Type | Description |
|---|---|---|
company_id * | string | |
city | ||
country | ||
display_name | ||
industries | ||
industry | ||
size_band | ||
website |
list_crm_stages
List the org's pipeline stages. Returns `[{id, name, color, position, emoji, created_at}]`. Lazily seeds a default pipeline ("New", "Engaged", "Meeting Booked", "Closed") if the org has none yet.
create_crm_stage
Create a pipeline stage. Idempotent on lower-cased name.
| Parameter | Type | Description |
|---|---|---|
name * | string | |
color | ||
emoji | ||
position |
update_crm_stage
Edit a pipeline stage. 409 if `name` clashes with another stage.
| Parameter | Type | Description |
|---|---|---|
stage_id * | string | |
color | ||
emoji | ||
name | ||
position |
delete_crm_stage
Delete a pipeline stage. REQUIRES `confirm=True`. Any contacts assigned to this stage get their `stage_id` set to NULL (they remain in the CRM).
| Parameter | Type | Description |
|---|---|---|
stage_id * | string | |
confirm | boolean |
set_crm_contact_stage
Set a contact's global pipeline stage (with optional auto-create-by-name). Different from `update_crm_contact(stage_id=...)`: - This tool auto-creates a stage by `name` if no `stage_id` is passed but the named stage doesn't exist yet. - This tool records the change in the contact's timeline with `source` provenance. Clear the stage by passing both `stage_id` and `name` empty, or `stage_id=None` plus `name=""`. Returns the refreshed CRM contact.
| Parameter | Type | Description |
|---|---|---|
crm_id * | string | |
color | ||
name | ||
source | ||
stage_id |
set_crm_contact_event_stage
Set a per-(contact, event) pipeline stage (separate from the global one). Exactly one of `event_id` or `external_event_ref` must be set. External events are non-Pavoot events (Luma imports, manual references) — supply `external_event_name` + `external_source` too so the timeline reads cleanly. Stage auto-create-by-name works the same way as `set_crm_contact_stage`. Clear by passing both `stage_id` and `name` empty. Returns `{crm_contact_id, event_id, external_event_ref, stage_id, stage_name, stage_color}`.
| Parameter | Type | Description |
|---|---|---|
crm_id * | string | |
color | ||
event_id | ||
external_event_name | ||
external_event_ref | ||
external_source | ||
name | ||
note | ||
source | ||
stage_id |
mark_crm_contact_meeting_booked
Mark a contact as "meeting booked" (sets the destination stage). Exactly one of `event_id` or `external_event_ref` must be set. Defaults destination stage name to "Meeting Booked"; override by passing `stage_id` (existing stage) or `name` (auto-create-by- name). Returns `{crm_contact_id, event_id, external_event_ref, stage_id, stage_name, stage_color, stage_was_created}`.
| Parameter | Type | Description |
|---|---|---|
crm_id * | string | |
event_id | ||
external_event_name | ||
external_event_ref | ||
external_source | ||
name | ||
note | ||
stage_id |
get_crm_contact_event_history
Get a contact's full event history (Pavoot + linked external events). Returns `{contact_id, display_name, entries: [{event_id?, external_event_ref?, event_title, starts_at, rsvp_status, attended, checked_in_at, approval_status, ticket_name, registration_answers, stage_id, stage_name, stage_color}]}`. Use `exclude_event_id` to drop the "current event" from the list when you're already showing it in a parent context.
| Parameter | Type | Description |
|---|---|---|
crm_id * | string | |
exclude_event_id |
get_crm_contact_timeline
Get a contact's stage / RSVP / check-in timeline (newest first). Returns `{contact_id, display_name, entries: [...]}`. Each entry is one of `kind="stage_change"` (with from_/to_stage_*), `kind="rsvp"` (with `rsvp_status`, `event_*`), or `kind="checkin"` (with `event_*`). Capped at the 100 most recent rows per source.
| Parameter | Type | Description |
|---|---|---|
crm_id * | string |
enrich_crm_contact
Enrich one CRM contact (Apollo-style firmographic + LinkedIn fill). Returns `{contact, status, message}` where `status` is `"enriched"`, `"no_identifier"` (no email / LinkedIn to enrich from), or `"linked_global"` (already pointing at a global record — refresh the global one instead).
| Parameter | Type | Description |
|---|---|---|
crm_id * | string |
bulk_delete_crm_contacts
Bulk-delete CRM contacts by id. REQUIRES `confirm=True`. Each deleted contact cascades to their RSVPs and follow-up drafts. Capped at 500 ids per call. Returns `{deleted: int}`.
| Parameter | Type | Description |
|---|---|---|
ids * | array | |
confirm | boolean |
crm_chat
Conversational CRM agent — powers /ideate and the CRM dock. Routes the question to a Claude-driven agent that can search the org CRM, run web/research lookups, create a new Pavoot event, propose attendees onto an existing event, and kick off attendee sourcing. Returns a single buffered response after the SSE stream closes. Args: question: The user's prompt, verbatim. 1-4000 chars. history: Optional prior conversation as a list of `{role: "user"|"assistant", content: str}`. Capped at 20 entries server-side. Pass empty / None to start fresh.…
| Parameter | Type | Description |
|---|---|---|
question * | string | |
chat_id | ||
history |
get_luma_status
Get the caller's Luma connection status. Returns `{connected: false}` when no key is on file, or `{connected: true, calendar_name, connected_at}` when connected.
list_luma_events
List the caller's Luma events for the connected calendar. Each entry is annotated with `already_imported_event_id` / `already_imported_at` so the agent can tell what's already in Pavoot before offering an import. Args: cursor: Optional pagination cursor from a previous response's `next_cursor`. Omit on the first page. Returns `{entries: [{api_id, name, start_at, end_at, timezone, cover_url, url, geo_city, already_imported_event_id?, already_imported_at?}], has_more, next_cursor}`. 401 if Luma isn't connected — the user connects it in the web app (`get_app_page_link('crm_i…
| Parameter | Type | Description |
|---|---|---|
cursor |
import_luma_event
Import a Luma event into Pavoot (creates a new Pavoot event + guests). The Luma event's metadata (name, date, location, cover, guest list, RSVPs) is copied into a fresh Pavoot event. Guests are upserted into the org CRM and linked as RSVPs on the new event. Args: luma_event_api_id: The Luma event's `api_id` from `list_luma_events()`. Runs in the background server-side and this waits for it, so the call can take a while on a large guest list. Returns `{run_id, event_id, kind, status, total, processed, imported_contacts, updated_contacts, rsvps_created, rsvps_updat…
| Parameter | Type | Description |
|---|---|---|
luma_event_api_id * | string |
refresh_event_from_luma
Re-sync a Pavoot event from its linked Luma source. Pulls fresh guest data from Luma and upserts any new RSVPs / check-ins. Idempotent. 400 if the event isn't linked to a Luma source. Backgrounded server-side and waited on here; returns the same run shape as `import_luma_event`. Check `status` before trusting the counts.
| Parameter | Type | Description |
|---|---|---|
event_id * | string |
push_event_to_luma
Push the Pavoot draft (fields + hosts) up to the linked Luma event. Best-effort: updates the Luma event's title, schedule, location, description, and custom-hosts block. No-op for events not linked to Luma. Returns `{ok, luma_sync, luma_sync_hosts}`. Both sync fields are `null` for non-Luma events.
| Parameter | Type | Description |
|---|---|---|
event_id * | string |
bulk_import_luma_contacts
Import a Luma guest-CSV into the org CRM (without creating a new event). Used when the user pastes a Luma guest export and just wants the contacts in the CRM (with an event-registration tag attached to them). Each row accepts: `guest_id`, `display_name`, `first_name`, `last_name`, `email`, `phone`, `approval_status`, `checked_in_at`, `registered_at`, `ticket_name`. Rows missing name + email + last+first are kicked into `errors`. Args: event_ref: Stable external reference (the Luma event api_id or URL slug). event_name: Display name for the external event entry. r…
| Parameter | Type | Description |
|---|---|---|
event_name * | string | |
event_ref * | string | |
rows * | array |
list_talked_to
Who has been marked "talked to" — the notetaker's interaction log. A "talked to" mark is a team member tapping the checkbox on an attendee at an event. It's a lighter signal than a note: it records that the conversation happened without anyone writing anything down. Three shapes, picked by the arguments: - `event_id` + `scope="mine"` (default) — just the calling user's marks for that event. Returns `{attendee_ids: [...]}`, which is what you want for "who have I already spoken to here?". - `event_id` + `scope="team"` — every team member's marks on that event, newest fir…
| Parameter | Type | Description |
|---|---|---|
event_id | ||
scope | string |
set_talked_to
Mark (or unmark) an attendee as "talked to" at an event. Attributed to the API key's user, so this records that *you* spoke to them, not the team generally. Idempotent in both directions — marking twice is a no-op, and unmarking someone who was never marked is fine. Pass `talked=False` to clear the mark.
| Parameter | Type | Description |
|---|---|---|
attendee_id * | string | |
event_id * | string | |
talked | boolean |
backfill_talked_to
Drain device-local "talked to" marks into the server. A one-time recovery path from when the notetaker kept these in the browser's localStorage. Each item is `{event_id, attendee_id}`. Idempotent — re-running can't duplicate marks. Items pointing at an event outside your org, or an attendee not on that event, are skipped silently rather than failing the whole batch, so one stale entry can't block the drain. The original click time was never recorded, so every backfilled mark is timestamped now and flagged `backfilled`. Returns `{written, skipped}`. If `skipped` is high, say so — it usua…
| Parameter | Type | Description |
|---|---|---|
items * | array |
list_notetaker_team
The team roster for an event — who can take notes on it. Returns `[{id, name, color, profile_photo_url}]`. Each member's colour is the one the notetaker UI uses for their note markers, so this is how you resolve "the teal notes" to an actual person. Useful before `get_all_event_notes` when the user asks a per-teammate question ("what did Sam pick up?") and you need to map a first name onto an author.
| Parameter | Type | Description |
|---|---|---|
event_id * | string |
list_all_notetaker_notes
Every attendee note across ALL of your org's events, newest first. The cross-event feed behind the Notes explorer. Each row is pre-joined with its author, attendee, and event, so you can answer questions that span events ("what have we learned about Acme?", "what did I write last month?") in one call instead of walking events one at a time. Server-capped at a fixed row count — for a deep dive on one event use `get_all_event_notes(event_id)` instead, which is complete.
| Parameter | Type | Description |
|---|---|---|
format | string |
extract_business_card
Read contact details off a photo of a business card or conference badge. Give it a path to an image file on this machine. A vision model pulls out whatever it can read — typically name, email, phone, company, title, and LinkedIn. The image is NOT stored anywhere: the bytes go to the vision model and the extracted fields come back. Nothing lands in Pavoot's buckets. This only extracts — it does not create anyone. Show the user what was read, let them correct it (OCR on a badge is imperfect), then call `add_walkin_attendee` to actually add them to the event. Supported: jpg, png, webp, gi…
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
image_path * | string |
extract_linkedin_from_image
Read LinkedIn identity off a screenshot — QR share card or profile page. Give it a path to an image file on this machine. Works on either a LinkedIn QR / share card or a screenshot of a profile page, and returns whatever identifying data the vision model can read. Prefer the returned `linkedin_url` when chaining into `add_walkin_attendee` — a canonical profile URL matches enrichment far more reliably than a name. Fall back to name + company only if no URL came back. The image is NOT persisted. Supported: jpg, png, webp, gif, heic. Max 10 MB.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
image_path * | string |
notetaker_chat
Ask a question about an event's notes — the notetaker's chat. This is retrieval over everything the team captured at one event: the notes, who wrote them, and who they're about. Good for "who did we meet from fintech?", "what did people ask about pricing?", "any follow-ups I owe?". It can surface action items, which come back as `tasks` on the chat. Threading: omit `chat_id` to start fresh. Pass one to continue an existing thread with its history — get ids from `list_notetaker_chats`. If the user is clearly picking up an earlier conversation, list first and continue that thread rather t…
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
question * | string | |
chat_id |
list_notetaker_chats
Saved notes-chat threads for an event. Returns `[{id, title, created_at, updated_at, message_count, open_tasks}]`, newest first. `open_tasks` is the count of action items still outstanding on that thread — worth mentioning when a user asks what's pending. Only your own threads; notes chats aren't shared across the team.
| Parameter | Type | Description |
|---|---|---|
event_id * | string |
get_notetaker_chat
Load one notes-chat thread in full — every message and task. Use when you need the actual prior transcript before continuing. To just resume, pass `chat_id` straight to `notetaker_chat`; you don't need to load it first.
| Parameter | Type | Description |
|---|---|---|
chat_id * | string | |
event_id * | string |
create_notetaker_chat
Open an empty notes-chat thread on an event. Rarely needed — `notetaker_chat` without a `chat_id` creates one implicitly. Use this only when the user explicitly wants a fresh named thread set up before asking anything.
| Parameter | Type | Description |
|---|---|---|
event_id * | string |
delete_notetaker_chat
Delete a notes-chat thread. Irreversible. Removes the thread, its messages, and any action items on it. The underlying attendee notes are untouched — only the conversation goes. Call without `confirm` first, tell the user which thread (title and message count, from `list_notetaker_chats`) is about to go, and only retry with `confirm=True` after they say yes.
| Parameter | Type | Description |
|---|---|---|
chat_id * | string | |
event_id * | string | |
confirm | boolean |
get_matchmaking
Read matchmaking state for an event. `include` picks which slice — they're separate calls server-side so that polling a slow generate stays cheap: - `overview` (default) — settings, the current run and its recommendations, the list of past runs, RSVP status counts, and which custom columns the matcher is allowed to read. This is also how you POLL a generate: re-call until `run.status` leaves `generating`. - `audience` — the roster the matcher would work over, plus the category options for narrowing it. - `answers` — each person's sign-up form answers, keyed…
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
include | string | |
run_id |
set_matchmaking_settings
Configure how matchmaking picks pairs and what the intro email says. Every argument is optional and merges into the existing settings, so you can change one thing without disturbing the rest. Audience: - `audience_statuses` — RSVP statuses to include (default `["yes"]`). - `audience_categories` — allow-list of attendee categories. Empty means every category, including ones added later. - `audience_excluded_ids` — CRM contact ids to skip even when they otherwise match. Strategy: - `strategy="groups"` seats people into groups of `group_size` (2-10). `strategy="recomm…
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
audience_categories | ||
audience_excluded_ids | ||
audience_statuses | ||
body_template | ||
group_size | ||
instructions | ||
matches_format | ||
matches_per_person | ||
readable_columns | ||
strategy | ||
subject_template |
generate_matchmaking
Start a new matchmaking run. Runs in the background. Returns as soon as the run is queued — it does NOT wait for matches. A mid-size event takes several minutes. Poll with `get_matchmaking(event_id)` and watch `run.status`: it leaves `generating` for `draft` when the run is ready to review. This starts a FRESH run and does not preserve edits to the current one. If the user wants to keep what they've approved and just top up the thin recipients, use `fill_matchmaking` instead. Tell the user it's running and roughly how long, rather than polling in a tight loop.
| Parameter | Type | Description |
|---|---|---|
event_id * | string |
fill_matchmaking
Top up an existing run without starting over. `what="matches"` keeps approved and active pairs, leaves removed ones removed, and finds new people for anyone short of the goal. Someone with 1 kept match and 2 rejected, against a goal of 3, gets 2 new ones. This is the right tool after the user has curated a run and wants the gaps filled. `what="reasons"` only writes the missing "why they should meet" sentences. Each pair's reason is written once, so the reverse direction often lands blank — this fills those without changing who meets whom. Both run in the background; poll `get_matchmaking`…
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
run_id | ||
what | string |
update_matchmaking_recommendation
Edit one recipient's card — who they meet, why, and what they're sent. A "recommendation" is one recipient plus their matches. Everything is optional; pass only what changes. Status: - `status="approved"` marks this card ready to send, `"skipped"` excludes the recipient, `"draft"` returns it to review. Only approved cards go out on a bulk send. Who they meet: - `reject_match_ids` removes matches (they stay recorded as rejected, so `fill_matchmaking` won't re-suggest them). - `restore_match_ids` undoes that. - `keep_match_ids` pins matches so a fill won't touch them.…
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
recommendation_id * | string | |
body_override | ||
keep_match_ids | ||
match_ids | ||
match_reasons | ||
reason | ||
reject_match_ids | ||
reset_matches | ||
restore_match_ids | ||
status | ||
subject_override |
add_matchmaking_recipient
Add someone to the run who the matcher didn't include. `recipient_contact_id` is a CRM contact id — pull one from `get_matchmaking(event_id, include="candidates")`. Creates an empty card for them. Give them matches with `add_matchmaking_match`, or run `fill_matchmaking` to have the matcher populate everyone who's short.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
recipient_contact_id * | string | |
run_id |
add_matchmaking_match
Hand-add one person to a recipient's matches. For when the host knows two people should meet and the matcher missed it. The "why they should meet" sentence is generated for the new pair; use `rewrite_matchmaking_reason` to redo or steer it.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
matched_contact_id * | string | |
recommendation_id * | string |
rewrite_matchmaking_reason
Redo the "why they should meet" sentence for one pair. No `prompt` regenerates it from the two profiles. A `prompt` is a host note to write against — "mention they're both hiring", "shorter, less salesy" — the same idea as Edit with AI on an invite. To set the text verbatim instead, use `match_reasons` on `update_matchmaking_recommendation`.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
matched_contact_id * | string | |
recommendation_id * | string | |
prompt |
delete_matchmaking_recommendation
Remove a recipient's card from the run entirely. Irreversible. Different from skipping: `update_matchmaking_recommendation(status= "skipped")` keeps the card and its curation, just excludes it from the send. Deleting throws away the matches and reasons. Prefer skipping unless the user really wants it gone. Call without `confirm` first and name the recipient.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
recommendation_id * | string | |
confirm | boolean |
preview_matchmaking_email
See exactly what one recipient will receive. Returns the assembled email — matches stitched into `{{matches}}`, signature attached — plus the resolved From address. Fast and static: no LLM, no run reload. Pass `subject` / `body` to preview an edit before committing it with `update_matchmaking_recommendation`. Always preview before a real send so the user sees the merge fields resolved.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
recommendation_id * | string | |
body | ||
subject |
approve_matchmaking
Approve (or un-approve) a whole matchmaking run. `approved=True` flips every draft card to approved in one go; `False` sends them back to draft. To approve individual recipients, use `update_matchmaking_recommendation` instead. Approving does not send anything — `send_matchmaking` does. 409s while the run is `sending`, since approving mid-send would rewrite rows the sender is about to touch.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
approved | boolean | |
run_id |
send_matchmaking
Send matchmaking intro emails. REAL EMAIL — irreversible. Two modes: - no `recommendation_id` — sends every approved card on the run. Recipients without an email address or without at least one active match are skipped by the server. - with `recommendation_id` — sends that one recipient only. Optional `subject` / `body` send an edited version. A already-sent card may be re-sent (the host is correcting a copy); one mid-flight may not, so a double-call can't deliver twice. Before confirming, tell the user how many people will be emailed and from what address â…
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
body | ||
confirm | boolean | |
recommendation_id | ||
run_id | ||
subject |
draft_matchmaking_instructions
Get AI help writing the matching prompt or the intro email. `target="instructions"` drafts a "who should meet?" prompt from this event's actual audience and sign-up answers — the best starting point when the user doesn't know what to write. `target="template"` rewrites the current subject and body to fit the `instructions`, preserving the `{{first_name}}`, `{{event_title}}`, and `{{matches}}` merge fields. Neither saves anything. Show the user the draft and only persist it via `set_matchmaking_settings` once they're happy.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
instructions | ||
target | string |
list_blasts
Every blast on an event, newest first. Each carries `status` (`draft`, `sending`, `sent`), its audience filter, questions, and `stats` (sent / opened / clicked). Use this to find a `blast_id` for the other blast tools, and to report on what already went out.
| Parameter | Type | Description |
|---|---|---|
event_id * | string |
get_blast_merge_fields
The merge fields a blast body can use, with a note on each. Worth reading before writing a body so you use real placeholders. Two matter especially: - `{{form_link}}` only works if the blast has `questions`. Saving a body that uses it with no questions is rejected outright — it would link recipients to an empty page. - `{{gallery_link}}` is empty for anyone whose photo gallery hasn't landed. Pair it with `gallery_link=True` in the audience filter so you don't mail people a blank line.
| Parameter | Type | Description |
|---|---|---|
event_id * | string |
preview_blast_audience
Who a filter matches right now — check before sending anything. Filters combine: `statuses` (RSVP status), `categories`, `tags`, `checked_in` and `gallery_link` (each `None` = don't filter on it, `True`/`False` = only / only-not). `include_contact_ids` and `exclude_contact_ids` are hand-picked exceptions layered on top, not a frozen list. Removal beats addition, and neither overrides do-not-invite. The returned count describes the WHOLE audience, not the page you get back — so quote the count, not the row count, when telling the user how many people will be emailed.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
categories | ||
checked_in | ||
exclude_contact_ids | ||
gallery_link | ||
include_contact_ids | ||
limit | integer | |
offset | integer | |
statuses | ||
tags |
find_blast_audience_candidates
Search for people to hand-add to (or remove from) a blast audience. `q` is a name / email search. Returns matching people so you can feed their contact ids into `include_contact_ids` or `exclude_contact_ids`. Pages with `limit` (max 100) and `offset`.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
categories | ||
limit | integer | |
offset | integer | |
q | string | |
statuses | ||
tags |
preview_blast_message
Render a draft exactly as one real recipient will receive it. Takes the draft inline rather than a saved id — the point is to check the wording mid-edit, before committing. Rendered by the same code the send path uses, so the preview cannot drift from what actually goes out. Merge fields resolve against a real person: `contact_id` to preview as someone specific, otherwise the first reachable recipient in the audience. Set `has_questions=True` if the blast will carry a form, so `{{form_link}}` resolves.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
body_md | string | |
categories | ||
contact_id | ||
has_questions | boolean | |
statuses | ||
subject | string | |
tags |
create_blast
Draft a new blast. Creates it as a draft — nothing is sent. `body_md` is markdown and may use merge fields (see `get_blast_merge_fields`). The audience arguments are the same filter `preview_blast_audience` takes — preview first so the user knows the reach before the draft exists. `questions` turns the blast into a form. Each is `{label, kind, options, required, allow_other}`; `kind` defaults to `multiselect`. Recipients answer from the email via `{{form_link}}`. `allow_other` adds a free-text "Other" — stored and shown, but never turned into a CRM tag. Using `{{form_link}}` without q…
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
body_md | string | |
categories | ||
checked_in | ||
exclude_contact_ids | ||
gallery_link | ||
include_contact_ids | ||
name | string | |
questions | ||
statuses | ||
subject | string | |
tags |
update_blast
Edit a draft blast. Only what you pass changes. Reads the current draft and merges, so changing the subject won't blank the body or reset the audience. Two states refuse edits: - `sent` — it's a record of what recipients already have. Create a new blast instead. - `sending` — a mid-send edit would split the audience across two different messages with no record of the split. Wait it out.
| Parameter | Type | Description |
|---|---|---|
blast_id * | string | |
event_id * | string | |
body_md | ||
categories | ||
checked_in | ||
exclude_contact_ids | ||
gallery_link | ||
include_contact_ids | ||
name | ||
questions | ||
statuses | ||
subject | ||
tags |
delete_blast
Delete a blast. Irreversible. A sent blast holds the delivery log and any answers recipients gave to its questions; deleting throws those away, and needs `force=True` on top of `confirm`. Say so explicitly before doing it.
| Parameter | Type | Description |
|---|---|---|
blast_id * | string | |
confirm | boolean | |
force | boolean |
list_blast_recipients
Who actually received a blast, and whether they opened or clicked. This is the delivery LOG — distinct from `preview_blast_audience`, which is who would get a send right now. Returns per-recipient rows plus aggregate `stats`.
| Parameter | Type | Description |
|---|---|---|
blast_id * | string | |
limit | integer | |
offset | integer |
send_blast
Send a blast. REAL EMAIL — irreversible. With `contact_id`, sends to that one person only and the blast stays a draft — this is how you send yourself a test. Without it, resolves the audience filter fresh and emails everyone in it, one at a time, each with its own outcome. Re-sending a sent blast is allowed and is how a host reaches people added since. It's idempotent per recipient — someone who already has it keeps their existing form link and any answer they gave — but everyone in the audience is mailed again, so a re-send is not a "send only to the new people" operation. Say that…
| Parameter | Type | Description |
|---|---|---|
blast_id * | string | |
confirm | boolean | |
contact_id |
list_email_blocks
The reusable header / footer blocks and values every email is wrapped in. Returns each block and each value alongside what it renders as today, so you can show the user the current state without a preview call. Blocks are markup (footer, signature chrome, and so on). Values are short literal strings merged into them. Both fall back to shipped defaults until overridden. Pass `event_id` to see the blocks as they'd render for that event — overrides can be scoped per-event on top of the org-wide ones. Omit it for the org-wide view.
| Parameter | Type | Description |
|---|---|---|
event_id |
set_email_block
Override one email block's markup. `block` is a key from `list_email_blocks`. With `event_id` the override applies to that event only, layered over the org default; without it, it becomes the org-wide default. `enabled=False` keeps the saved text but stops rendering the block. An empty `body` means "use the shipped default" rather than "render nothing" — to hide a block, pass `enabled=False` instead. To drop the override entirely, use `reset_email_block`. Preview with `preview_email_block` before saving.
| Parameter | Type | Description |
|---|---|---|
block * | string | |
body | string | |
enabled | boolean | |
event_id |
set_email_value
Override one short literal value merged into the email chrome. `name` comes from the `values` list in `list_email_blocks`. Blank `text` clears the override and restores the computed value — the same "empty means default" rule the block bodies follow.
| Parameter | Type | Description |
|---|---|---|
name * | string | |
event_id | ||
text | string |
reset_email_block
Drop an override and go back to the shipped default. `kind="value"` resets a value instead of a block. With `event_id` this clears only the event-scoped override, revealing the org-wide one underneath; without it, the org default is reset. Irreversible — the customised text is not recoverable.
| Parameter | Type | Description |
|---|---|---|
block * | string | |
confirm | boolean | |
event_id | ||
kind | string |
preview_email_block
Render one email block as it will appear, without saving. Pass `body` to preview unsaved editor contents; omit it to render what's currently stored (falling back to the shipped markup). Use this before `set_email_block` so the user sees the result first.
| Parameter | Type | Description |
|---|---|---|
block * | string | |
body | ||
event_id |
get_questionnaire
Read an event's question set. `phase="registration"` is the sign-up form: the questions plus `signup_fields`, the built-in name/email boxes. `phase="post_event"` is the feedback form asked afterwards, plus how it's performing (response counts). It has no `signup_fields` — those are sign-up-only and meaningless after the event. `preview=True` (post-event only) renders exactly what a guest sees on the public feedback page, built by the same code as the real page so it can't drift. Always call this before `set_questionnaire` — the write replaces the whole set.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
phase | string | |
preview | boolean |
set_questionnaire
Replace an event's question set. REPLACES — read first. `questions` is the complete list; anything you leave out is deleted. Call `get_questionnaire(event_id, phase)` first and edit what comes back, rather than composing a fresh list from scratch. Each question is `{question, columnName, kind, required, options, prefix, optOut}`. `kind` defaults to `"text"`; `options` is for choice kinds. `columnName` is what the answer column is called on the attendee grid. The two phases are stored independently, so writing the post-event set cannot disturb the registration set or vice versa. Answers la…
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
questions * | array | |
phase | string | |
signup_fields |
list_attendee_views
The caller's saved attendee-table views for an event. A view is a named filter + layout arrangement. They're personal, not shared — you only ever see your own, never a colleague's.
| Parameter | Type | Description |
|---|---|---|
event_id * | string |
save_attendee_view
Create or update a saved attendee-table view. Without `view_id`, creates a new view. With one, updates that view — only the fields you pass change, so you can rename without touching the layout, or overwrite the layout without renaming. `config` is the free-form layout blob (filters, column arrangement). `is_default=True` makes the view apply automatically when the owner opens the table. Names must be unique per user per event; a clash comes back as a conflict error.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
name * | string | |
config | ||
is_default | boolean | |
view_id |
delete_attendee_view
Delete a saved attendee-table view. Irreversible. Only affects the saved arrangement — no attendee data is touched.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
view_id * | string | |
confirm | boolean |
get_attendee_column_layout
The host's saved attendee-table column order and hidden columns. Returns `{order, hidden}`. `order` is null if the host never arranged the table.
| Parameter | Type | Description |
|---|---|---|
event_id * | string |
set_attendee_column_layout
Save the attendee-table column order and which columns are hidden. `order` is the full ordered list of column keys; `hidden` is the set the host explicitly hid (they stay hidden on reload rather than being re-appended). Both cap at 200 entries. Read `get_attendee_column_layout` first — this replaces both lists.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
order * | array | |
hidden |
list_column_values
Distinct values already present in one attendee-grid column. Ordered by frequency, so the common answers come first. Works for built-in columns and per-event custom ones (pass `custom:<slug>`). `blank_count` tells you how many rows are empty. Good for "what companies are represented?" without pulling every RSVP.
| Parameter | Type | Description |
|---|---|---|
column * | string | |
event_id * | string | |
limit | integer |
list_rsvp_categories
The guest categories available on an event. The three built-in defaults first, then whatever this event has actually used — hosts can type their own and CSV imports bring their own in, so this is not a closed set.
| Parameter | Type | Description |
|---|---|---|
event_id * | string |
get_auto_email_categories
Which guest categories receive automatic email on this event. Covers the unattended mail only: RSVP-lifecycle notices and scheduled reminders. Composed mail — invitations, blasts, follow-ups — is unaffected, because a human chooses those recipients. `null` means every category (the default).
| Parameter | Type | Description |
|---|---|---|
event_id * | string |
set_auto_email_categories
Choose which guest categories get automatic email on this event. Three distinct outcomes, and the difference matters: - `categories=["VIP"]` — only that category is mailed. - `categories=[]` — nobody is mailed automatically. A real choice, not a reset. - `reset_to_all=True` — back to the default of every category, including ones added later. Because an empty list is meaningful, you must use `reset_to_all` to restore the default; passing nothing at all is rejected rather than guessed at.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
categories | ||
reset_to_all | boolean |
score_event_attendees
AI-score attendees 0-10 against the org's ideal-customer profile. Scores both halves: the PERSON (title, seniority, function) and the COMPANY (industry, size, what they do), plus this event's own context. With `rsvp_id`, scores that one attendee. Without, scores every attendee on the event — that's a bulk AI pass, so it takes a while and counts against the daily enrichment allowance. Mention the scope before running it on a large event.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
rsvp_id |
discover_rsvp_linkedin
Find missing LinkedIn URLs for an event's attendees. Runs in background. `status_only=True` just reports progress on the most recent run — use it to poll, rather than kicking off a second run. Otherwise starts a run. `statuses` narrows the scope to particular RSVP statuses (e.g. `["yes", "attended"]`); omit it to cover every attendee. Unknown statuses are dropped silently.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
status_only | boolean | |
statuses |
list_rsvp_identities
Every attendee identity on an event — slugs and emails only. A deliberately thin payload for matching people up against an external list without pulling the full RSVP rows. For anything more than identity, use `list_rsvps`.
| Parameter | Type | Description |
|---|---|---|
event_id * | string |
get_rsvps_other_events
For each contact, how many OTHER events of this org they belong to. The question to ask before removing someone: are they part of the org's event history, or would removing them here leave a contact with no events at all? Worth checking before `delete_rsvp` so you can tell the user which case they're in.
| Parameter | Type | Description |
|---|---|---|
contact_ids * | array | |
event_id * | string |
update_rsvp_attributes
Set the per-event flags on one attendee. Pass only what changes. Each group below is independent; you can set several in one call. **Category** — `category` is free text. The picker offers Speaker / Attendee / VIP but "Sponsor" is fine. Empty or whitespace resets to the default rather than blanking it. **Want to talk to** — `want_to_talk_to` flags this person as someone the host wants to catch at the event. **Confirmed** — `confirmed=True` marks a GOING guest (RSVP yes, or checked in) as having confirmed they are actually coming, e.g. they replied "see you tonight"; `False` clears it…
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
rsvp_id * | string | |
category | ||
clear_invite_preference | boolean | |
clear_pavoot_owner | boolean | |
confirmed | ||
invite_preference | ||
invite_preference_note | ||
invite_sent | boolean | |
invite_sent_channel | ||
invite_sent_label | ||
pavoot_owner_user_id | ||
want_to_talk_to |
mark_invites_sent
Record by hand that MANY guests were already invited on one channel: the bulk form of `update_rsvp_attributes(invite_sent_channel=...)`. For invitations sent outside Pavoot ("we invited these 600 on Bookface"), so they stop counting as un-invited. Sends NOTHING. `channel`: email | sms | linkedin | other. `label` (required for "other") is the host's words, e.g. "Bookface event"; it is ADDED to a label the guest already has, never replacing it. Up to 2000 `contact_ids` (crm_contact_id, as on the event's list); guests not on the event are skipped and counted. Like the single mark, an "On invite…
| Parameter | Type | Description |
|---|---|---|
channel * | string | |
contact_ids * | array | |
event_id * | string | |
confirm | boolean | |
label |
preview_rsvp_lifecycle_email
Render one RSVP status-change email exactly as it would send. These are the notices that go out when a guest is approved, declined, or waitlisted. `kind` is the template id — it comes back from the event dashboard's pending-emails list and is validated server-side, so you can't point an arbitrary template at an arbitrary guest. `kind=None` means there's no template for this transition and the host is writing the whole message; `subject` and `body` then carry it. With a `kind`, they're one-off edits to the template for this send only — the org template is never rewritten from here.
| Parameter | Type | Description |
|---|---|---|
contact_id * | string | |
event_id * | string | |
body | ||
kind | ||
subject |
send_rsvp_lifecycle_emails
Send RSVP status-change notices. REAL EMAIL — irreversible. `items` is a list of `{contact_id, kind, subject, body, allow_resend}`, up to 500. Only `contact_id` is required. `allow_resend=True` bypasses the idempotency gate that stops a guest being mailed the same notice twice. Set it only when the user has explicitly said "send it again" — it exists so a double-click can't double-mail, so bypassing it should be a deliberate act. Preview at least one with `preview_rsvp_lifecycle_email` and tell the user the recipient count before confirming.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
items * | array | |
confirm | boolean |
list_registration_templates
Every RSVP-lifecycle email slot, customised or not. Returns each slot in lifecycle order with its current subject, body, and whether it's enabled. With `event_id`, each row is what THAT EVENT actually sends — its own copy where it has one, the org's where it doesn't — and `scope` tells you which you're looking at. Without, you see the org-level set. Use the `kind` from here as the argument to the other three registration-template tools.
| Parameter | Type | Description |
|---|---|---|
event_id |
set_registration_template
Customise one RSVP-lifecycle email. `kind` is a slot id from `list_registration_templates`. With `event_id` the override applies to that event only, layered over the org's; without, it becomes the org default. This replaces the slot's subject and body — read the current values first if you're only changing one of them. `enabled=False` stops the slot sending without discarding the copy. `recipients` applies only to the host-alert slot. Three states: omit it to leave the list alone, pass a list to set it explicitly, or pass `infer_recipients_from_hosts=True` to go back to deriving it from…
| Parameter | Type | Description |
|---|---|---|
kind * | string | |
body | string | |
enabled | boolean | |
event_id | ||
infer_recipients_from_hosts | boolean | |
recipients | ||
subject | string |
reset_registration_template
Discard a registration-template override. Irreversible. With `event_id`, drops only that event's copy so it falls back to the org's. Without, drops the org override and the shipped default takes over again. The customised copy is not recoverable — read it out with `list_registration_templates` first if the user might want it back.
| Parameter | Type | Description |
|---|---|---|
kind * | string | |
confirm | boolean | |
event_id |
preview_registration_template
Render one RSVP-lifecycle email without saving it. Pass `subject` / `body` to preview unsaved edits; omit them to render what's stored (falling back to the shipped default), so this works before the first save. Pass `event_id` to render against a real event — the host sees their own title, date and venue instead of placeholders — and `crm_contact_id` to render as a specific guest. Without a contact it picks the first RSVP it can find, then a sample person.
| Parameter | Type | Description |
|---|---|---|
kind * | string | |
body | ||
crm_contact_id | ||
event_id | ||
subject |
list_reminders
Reminders armed on an event, plus the org's reusable templates. `event_id` is required to see armed reminders — they're per-event, so a list without one returns templates only. Also returns `presets` (the common offsets, as a convenience — any free-form minute value is still accepted on write) and `placeholders` (the merge fields a body may use).
| Parameter | Type | Description |
|---|---|---|
event_id |
create_reminder
Arm a reminder on an event, or save a reusable org template. **This is the fork that matters**: with `event_id` the reminder is armed on that event and WILL send. Without it, you're saving an org template — reusable copy that never sends, and the only way to create one. Be sure which the user meant. Two scheduling modes: - Relative: `offset_minutes` before the event starts. - Local wall-clock: `send_at_local` as `"HH:MM"` in the EVENT's timezone plus `days_before` calendar days. Pass both or neither. An identically-scheduled reminder on the same event is rejected as a clash rather…
| Parameter | Type | Description |
|---|---|---|
offset_minutes * | integer | |
body | string | |
days_before | ||
enabled | boolean | |
event_id | ||
send_at_local | ||
subject | string |
update_reminder
Edit a reminder. Only what you pass changes. Scheduling mode is three-state, so switching is always deliberate: - pass nothing → stays in its current mode; - pass `send_at_local` (+ `days_before`) → moves to local wall-clock mode; - pass `switch_to_relative=True` → moves back to relative mode, driven by `offset_minutes`. `enabled=False` disarms a reminder without deleting it — the right move when the user just wants to stop one going out.
| Parameter | Type | Description |
|---|---|---|
reminder_id * | string | |
body | ||
days_before | ||
enabled | ||
offset_minutes | ||
send_at_local | ||
subject | ||
switch_to_relative | boolean |
delete_reminder
Delete a reminder or org template. Irreversible. If the user only wants to stop it sending, `update_reminder(enabled= False)` disarms it and keeps the copy — offer that first.
| Parameter | Type | Description |
|---|---|---|
reminder_id * | string | |
confirm | boolean |
preview_reminder
Render a reminder as it would send, without saving. Pass `subject` / `body` to preview unsaved edits. Pass `event_id` to resolve placeholders against a real event so the host sees their own title, date and venue.
| Parameter | Type | Description |
|---|---|---|
reminder_id * | string | |
body | ||
event_id | ||
subject |
get_user_preferences
The calling user's saved UI preferences, as a free-form object. Whatever the app has stored — toggles, defaults, dismissed hints. Read this before `update_user_preferences` so you know the existing keys rather than inventing new ones.
update_user_preferences
Merge keys into the user's preferences. A shallow merge, not a replace: keys you don't mention are kept. To clear one, set it explicitly rather than omitting it. Returns the full preferences object as it now stands.
| Parameter | Type | Description |
|---|---|---|
preferences * | object |
list_senders
The email identities this user can send as. Returns every connected sender plus `default_sender_id`. `spot` is one of `notetaker`, `invitations`, `followups`, `registration`. Pass one and you also get `active_sender_id` — the sender that would actually be used from that spot right now, resolving explicit → sticky → default. That's the one to quote when a user asks "who will this send as?".
| Parameter | Type | Description |
|---|---|---|
spot |
set_default_sender
Set the user's default sending identity. The fallback used wherever no per-spot choice applies. The sender must already be connected — get valid ids from `list_senders`.
| Parameter | Type | Description |
|---|---|---|
sender_id * | string |
set_active_sender
Choose the sending identity for one part of the app. A sticky per-spot override that expires after about four hours, then falls back to the default. Use it for "send this batch from my Gmail instead" rather than changing the default outright.
| Parameter | Type | Description |
|---|---|---|
sender_id * | string | |
spot * | string |
disconnect_sender
Disconnect a connected Gmail account. Irreversible without re-auth. Revokes access at Google, drops any per-spot stickies pointing at it, and reassigns the default if it was this one. Reconnecting means going through the OAuth flow again in a browser. The built-in pavoot.com identity can't be disconnected — it's the platform default.
| Parameter | Type | Description |
|---|---|---|
sender_id * | string | |
confirm | boolean |
get_registration_readiness
Can this workspace email guests about their registrations? Guest-facing RSVP mail is triggered by the guest submitting the public form, so it sends as the event HOST — not whoever is asking. If the host's account has no email set up, every one of those messages is silently dropped: the guest hears nothing and nobody is warned. Worth checking before an event opens for registration. The response says whether it's `ready`, who would send, whether sending is `delegated_to_you`, and `can_offer_to_send` when the caller could unblock it by volunteering their own account.
get_org_background
The org's own description — website, one-liner, ICP, notes. This is the context the AI features work from: attendee scoring, sourcing, and landing-page generation all read the ICP and one-liner. `filled` being false is a common root cause of vague AI output, so check here when sourcing or scoring results look generic.
set_org_background
Update the org's description. Only what you pass changes. `icp` (ideal customer profile) is the highest-leverage field — it drives attendee scoring and sourcing. A specific ICP produces markedly better results than a vague one, so it's worth pushing the user for detail rather than accepting one line. Blank or whitespace-only values are treated as "clear this field".
| Parameter | Type | Description |
|---|---|---|
icp | ||
notes | ||
one_liner | ||
website |
get_org_branding
The org's logo and brand palette. Returns the logo and the colour set — `palette` (the swatch list) and `derived` (`page_bg`, `primary`, `accent`, `text`), which is what landing-page generation and the email editor use as defaults.
bulk_update_crm_contacts
Set stage and/or score on many contacts in one atomic write. One UPDATE rather than a fan-out of per-row calls, so the change can't be half-applied. Prefer this over looping `update_crm_contact` for bulk edits. Pass `clear_stage` / `clear_score` to blank a field — omitting it leaves it untouched, which is a different thing. Ids that aren't real contacts in this org (an AI-proposal row, say) simply don't match and are skipped, so a mixed selection never errors the whole batch. Returns `{updated}` — compare it against `len(ids)` and mention any shortfall.
| Parameter | Type | Description |
|---|---|---|
ids * | array | |
clear_score | boolean | |
clear_stage | boolean | |
score | ||
stage_id |
score_all_crm_contacts
AI-score the org's CRM contacts 0-10 against its ICP. Writes to the same score column hosts edit by hand, so this overwrites manual scores. Say that before running it on a CRM where someone has been scoring by hand. `max_contacts` caps the run (the server clamps to its own maximum); omit for the server default. Reads the org background — if the ICP is thin, scores will be too, so check `get_org_background` first when results look arbitrary. Returns `{scored, considered}`.
| Parameter | Type | Description |
|---|---|---|
max_contacts |
set_crm_contact_lead_status
Assign, re-assign, or clear the Lead status on a contact. Pass `lead_status_id` for an existing status, or `name` (with an optional `color`) to create one on the fly. `clear=True` removes it. Lead status is separate from the pipeline stage that `set_crm_contact_stage` handles, and unlike stage changes it leaves no timeline audit entry.
| Parameter | Type | Description |
|---|---|---|
crm_id * | string | |
clear | boolean | |
color | ||
lead_status_id | ||
name |
set_crm_contact_invite_preference
Mark a CRM contact "invite again" or "don't invite anymore", or clear it. The same standing decision `update_rsvp_attributes` sets from an event's guest list, but straight on the contact — no RSVP needed. It is org-wide and steers every future event's sourcing: * `"do_not_invite"` removes the person from CRM sourcing and search entirely, so they cannot be proposed again by accident. * `"invite_again"` is the strongest positive ranking signal sourcing has, and `note` travels with it as the reason. Args: crm_id: Contact id from `list_crm_contacts` / `lookup_crm_contact`.…
| Parameter | Type | Description |
|---|---|---|
crm_id * | string | |
clear | boolean | |
note | ||
preference |
set_crm_contact_avatar
Set a contact's photo. `source="linkedin"` resolves it from the contact's stored LinkedIn URL — so that field has to be populated first. `source="url"` takes a pasted `http(s)` image URL as a manual override.
| Parameter | Type | Description |
|---|---|---|
crm_id * | string | |
source | string | |
url |
import_crm_contacts_to_event
Attach existing CRM contacts to an event as RSVPs. Two modes, and picking the right one matters: - explicit — `crm_contact_ids` is the exact set to import. - select-all — `filters` resolves the FULL matching set server-side, minus `exclude_ids`. This is what makes "filter, then import everyone matching" import every match rather than just the rows you happened to list. `filters` uses the same vocabulary as `list_crm_contacts`: `search`, `tag`, `source`, `event_id`, `has`, `events_min`, `events_max`, `yc_batch`, `yc_industry`, `stage`, `name_q`, `company_q`, `title_q`, `cu…
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
crm_contact_ids | ||
exclude_ids | ||
filters | ||
status | string |
list_crm_chats
Saved Ideate / CRM chat threads. These are shared across the whole ORG — every member sees every teammate's threads, unlike notetaker chats, which are private. Worth remembering before quoting one back: the user may not have written it. Returns `[{id, title, created_at, updated_at, message_count}]`. Pass an id to `crm_chat` as `chat_id` to continue a thread.
get_crm_chat
Load one Ideate / CRM chat thread with its full message history.
| Parameter | Type | Description |
|---|---|---|
chat_id * | string |
create_crm_chat
Start a named Ideate / CRM chat thread. `crm_chat` does NOT create one implicitly: it only saves into a thread when given `chat_id`. Create one here, then pass its `id` to `crm_chat(chat_id=...)` to put the first message in it.
| Parameter | Type | Description |
|---|---|---|
title | string |
rename_crm_chat
Rename an Ideate / CRM chat thread. Threads are org-shared, so this renames it for everyone.
| Parameter | Type | Description |
|---|---|---|
chat_id * | string | |
title * | string |
delete_crm_chat
Delete an Ideate / CRM chat thread. Irreversible. These are org-shared, so this removes it for every teammate, not just the caller. Say so before confirming — the thread may not be the user's own.
| Parameter | Type | Description |
|---|---|---|
chat_id * | string | |
confirm | boolean |
get_crm_chat_run_status
Is an agent run still working on this chat? Returns `{active, run_id}`. `crm_chat` can kick off a long-running agent; poll here rather than re-sending the question, which would start a second run.
| Parameter | Type | Description |
|---|---|---|
chat_id * | string |
list_export_templates
The org's export templates. With `event_id`, each template also carries `asks` — the per-event questions still unanswered — and the `answers` already on file. Read this before `render_export_template` so you can collect the asks first instead of exporting a file with blanks in it. Any org member can export; only admins can author.
| Parameter | Type | Description |
|---|---|---|
event_id |
get_export_template
One export template with its full column mapping.
| Parameter | Type | Description |
|---|---|---|
template_id * | string |
list_export_template_targets
Everything an export column can be mapped to. The vocabulary templates are built from: built-in fields plus the org's custom contact columns (as `custom:<slug>`). Authoring templates is browser-only (org admin; `get_app_page_link('export_formats')`); this is for reading what an existing template's columns mean.
render_export_template
Render an export template for an event and save the file to disk. `dest_path` is where to write it on this machine — include the extension. Won't overwrite an existing file; pick another name. `values` answers the template's per-event questions, keyed by column header. Get the outstanding ones from `list_export_templates(event_id)`'s `asks` and ask the user before rendering, rather than exporting a file with holes in it. Answers are remembered, so the next export of this event won't ask again. `file_format` overrides the template's own format for this download. Returns where it saved and…
| Parameter | Type | Description |
|---|---|---|
dest_path * | string | |
event_id * | string | |
template_id * | string | |
file_format | ||
values |
list_network_connections
Search YOUR OWN uploaded LinkedIn connections. Only the caller's upload — never a colleague's. Teammates' lists are private; what the team shares is who has uploaded and how many (`get_network_stats`), and warm paths surface through sourcing and the "In network of" label on attendees rather than by browsing someone else's address book. `q` searches name, title and company; `company` / `title` / `location` are per-column contains filters; `has` filters on presence of a field. Filters and sorts run on the resolved displayed values, not the raw CSV columns.
| Parameter | Type | Description |
|---|---|---|
company | ||
dir | string | |
format | string | |
has | ||
limit | integer | |
location | ||
offset | integer | |
q | ||
sort | string | |
title |
get_network_connection
One of YOUR OWN uploaded connections, in full. A colleague's connection answers 404, the same as one that does not exist.
| Parameter | Type | Description |
|---|---|---|
connection_id * | string |
get_network_stats
Who on the team has uploaded their LinkedIn connections, how many, and when (`last_imported_at`) — counts only, never the people. Good for spotting members who haven't uploaded yet.
import_network_connections
Upload a LinkedIn `Connections.csv` into the org network. `preview_only=True` WRITES NOTHING — it reports what's in the file and which extra columns could be mapped. Run it first so the user can see what they're about to share and back out. Everything uploaded becomes visible to the WHOLE ORG, not just the uploader. People don't generally think about what's in their connections list, so say this plainly before importing. A stock LinkedIn export needs no `mapping`. Only pass one — `{csv column: pavoot field}`, from the preview — for a file the user has edited. Omitting it imports the s…
| Parameter | Type | Description |
|---|---|---|
file_path * | string | |
mapping | ||
preview_only | boolean |
get_network_import_job
Progress of a network CSV import. Poll until it finishes.
| Parameter | Type | Description |
|---|---|---|
job_id * | string |
set_network_match_verdict
Settle whether a name-matched connection is really the same person. Warm-intro matching is by name, so it produces uncertain matches. `verdict="confirmed"` means yes, same person — the "?" disappears for everyone. `"rejected"` hides the match for everyone. `verdict=None` clears a previous ruling and returns it to uncertain. Rulings are ORG-WIDE and attributed: once a colleague has checked, nobody is asked again. The match is identified by natural key rather than row id, so the judgement survives a member re-uploading their connections.
| Parameter | Type | Description |
|---|---|---|
crm_contact_id * | string | |
linkedin_slug * | string | |
owner_user_id * | string | |
verdict |
delete_network_connections
Remove network connections. Irreversible. With `connection_id`, deletes that one row. Without, deletes EVERY connection the calling user uploaded — a bulk wipe, so state the scope before confirming. Either way this only touches the caller's own uploads. The network is org-visible but not org-editable: removing a colleague's connections is a member-removal decision handled by an org admin.
| Parameter | Type | Description |
|---|---|---|
confirm | boolean | |
connection_id |
get_future_interest_questions
The "what would you come to?" form shown to guests who decline. Without `event_id`, the org default — returns the shipped defaults when never configured, so there's always something editable. With one, that event's override.
| Parameter | Type | Description |
|---|---|---|
event_id |
set_future_interest_questions
Set the future-interest form's questions and copy. REPLACES the set. Each question is `{label, kind, options, required, allow_other}`; `kind` defaults to `multiselect`. Up to 20. `allow_other` adds a free-text option — stored and shown, but never turned into a CRM tag. Empty `heading` / `intro` mean "use the shipped default", which is also what clearing the box should do — not a blank title. An empty `questions` list means different things by scope, so be deliberate: on an EVENT it clears the override and falls back to the org default; on the ORG it means "ask nothing", which switches t…
| Parameter | Type | Description |
|---|---|---|
questions * | array | |
event_id | ||
heading | string | |
intro | string |
preview_future_interest_form
The future-interest form as a declining guest sees it.
| Parameter | Type | Description |
|---|---|---|
event_id |
get_future_interest_summary
Ask/answer counts and the most-wanted event types. `event_id` scopes it to one event — use it whenever you're reporting inside the context of a single event, since org-wide totals shown there read as that event's numbers. Omit it for the org-wide picture.
| Parameter | Type | Description |
|---|---|---|
event_id |
get_contact_future_interest
Everything one person has told us about what they'd attend. Also returns their standing `invite_preference` and whether they're marked do-not-invite — check this before proposing someone for an event.
| Parameter | Type | Description |
|---|---|---|
contact_id * | string |
list_media_events
Events visible to the Photos app, with attendee and check-in counts.
get_media_consent_fields
The questions and columns that could record photo consent. Returns the event's sign-up questions and extra attendee columns along with the distinct values already stored, so you can find which field is the consent one and what its answers look like before filtering on it.
| Parameter | Type | Description |
|---|---|---|
event_id * | string |
list_media_attendees
Attendees, optionally classified by their photo-consent answer. Both consent modes need `consent_slug` and `consent_value` together (get them from `get_media_consent_fields`): - `annotate` returns everyone, each flagged with whether they match. - `filter` returns only the matches. Use `annotate` when reporting coverage ("38 of 52 consented") and `filter` when producing the list to act on.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
consent_mode | string | |
consent_slug | ||
consent_value | ||
ids | ||
limit | integer | |
offset | integer |
set_gallery_links
Write per-attendee photo-gallery URLs onto an event. Each entry pairs an attendee with their gallery URL. Creates the Gallery Link column if the event doesn't have one yet. This is what makes `{{gallery_link}}` resolve in a blast — pair it with `gallery_link=True` in the blast audience so you don't mail an empty line to people whose gallery hasn't landed.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
links * | array |
attendee_chat
Ask a question about an event's attendee list. Retrieval over who is coming — "which founders are attending?", "any overlap with last quarter's dinner?", "who hasn't been enriched?". Distinct from `notetaker_chat`, which searches the NOTES people took at the event. This one searches the guest list itself. Omit `chat_id` to start fresh, or pass one from `list_attendee_chats` to continue a thread with its history.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
question * | string | |
chat_id |
list_attendee_chats
Saved attendee-chat threads for an event.
| Parameter | Type | Description |
|---|---|---|
event_id * | string |
get_attendee_chat
Load one attendee-chat thread with its full message history.
| Parameter | Type | Description |
|---|---|---|
chat_id * | string | |
event_id * | string |
create_attendee_chat
Start a named attendee-chat thread. Usually unnecessary — `attendee_chat` creates one implicitly.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
title | string |
delete_attendee_chat
Delete an attendee-chat thread. Irreversible. Only the conversation goes; attendee data is untouched.
| Parameter | Type | Description |
|---|---|---|
chat_id * | string | |
event_id * | string | |
confirm | boolean |
list_declined_proposals
Candidates the host skipped during sourcing review. The discard pile. Restore any of them with `review_sourcing_proposals(action="restore")`.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
format | string |
review_sourcing_proposals
Work the sourcing review queue — approve, skip, or un-skip candidates. Bulk: decline (or approve/restore) many proposed rows in one call. Candidates are identified by their `proposal_key`, not row id: the LinkedIn URL, or `crm:<contact id>` for a CRM contact with no LinkedIn URL. Both `list_sourcing_proposals` rows and `source_attendees` proposals carry it. Pass those keys in `linkedin_urls`; a CRM-only candidate can't be addressed by anything else. - `approve` accepts them and creates attendee records. This is the committing action, so it's gated. - `decline` skips them into the discard…
| Parameter | Type | Description |
|---|---|---|
action * | string | |
event_id * | string | |
linkedin_urls * | array | |
confirm | boolean |
update_sourcing_proposal
Correct a still-pending candidate before deciding on them. For when the agent got a title wrong, or the host knows something it doesn't. Only the fields you pass are written. Edits persist rather than living in the UI, so a correction survives a reload, and they ride onto the attendee record when the candidate is approved — no need to fix it up afterwards. Pass the candidate's `proposal_key` as `linkedin_url`: the LinkedIn URL, or `crm:<contact id>` for a CRM contact that has none. Both come back on `list_sourcing_proposals` rows and `source_attendees` proposals.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
linkedin_url * | string | |
city | ||
company | ||
company_description | ||
company_domain | ||
company_linkedin_url | ||
email | ||
host_note | ||
name | ||
score | ||
title |
enrich_sourcing_proposal
Enrich one sourcing candidate in place. Fills in what the agent couldn't determine. Counts against the daily enrichment allowance, so enrich the shortlist rather than everything. Needs the candidate's LinkedIn URL — enrichment looks the person up by it. A CRM contact without one (`proposal_key` starting `crm:`) can't be enriched.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
linkedin_url * | string |
list_sourcing_threads
Sourcing conversation threads on an event. Threads self-title from their first prompt.
| Parameter | Type | Description |
|---|---|---|
event_id * | string |
create_sourcing_thread
Start a new sourcing conversation. This is what "New thread" should do — it keeps the old conversation retrievable. Don't use `reset_sourcing_thread` for this; that clears shared state and loses the thread boundary.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
title |
rename_sourcing_thread
Rename a sourcing conversation.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
thread_id * | string | |
title * | string |
delete_sourcing_thread
Delete a sourcing conversation and its messages. Irreversible. Proposals are NOT touched — they belong to the event, not to the chat that produced them. A host deleting a conversation is tidying history, not un-sourcing a shortlist they may already have approved from. Reassure them of that if they hesitate.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
thread_id * | string | |
confirm | boolean |
reset_sourcing_thread
Drop the event's durable sourcing state — cursor, last query, context. Rarely what's wanted. To start a fresh conversation while keeping the old one, use `create_sourcing_thread`. Reach for this only when the agent is stuck in a bad state and needs clearing out.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
confirm | boolean |
cancel_agent_run
Stop an agent run that's still working. `kind="crm_chat"` and `"find_people"` need `chat_id`; `"source_new_people"` needs `event_id`. Use when the user says "stop" or "never mind" mid-run, rather than leaving it running.
| Parameter | Type | Description |
|---|---|---|
kind * | string | |
chat_id | ||
event_id |
get_agent_run_status
Is a sourcing agent run still active? `find_people` needs `chat_id`; `source_new_people` needs `event_id`. For CRM chat runs use `get_crm_chat_run_status`. Poll here instead of re-sending the prompt, which would start a second run alongside the first.
| Parameter | Type | Description |
|---|---|---|
kind * | string | |
chat_id | ||
event_id |
check_handle_available
Is a public handle free? Check before calling `set_event_handle`. Also returns `current_handle`: what the event uses today (null = none, "unknown" = couldn't be read). Available is not the same as safe — if the event already has a handle, replacing it breaks the links out there.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
handle * | string |
set_event_handle
Set the event's public handle — `pavoot.events/<handle>`. Unique across all events, so check `check_handle_available` first and offer an alternative rather than surfacing a raw conflict. An event has ONE handle. If it already has one (or it can't be read), the first call returns `needs_confirmation` naming the current handle: replacing it makes every link already shared with that handle stop working (the generated `public_token` link keeps working). Tell the user the current handle and the link that will break, and only retry with `confirm=True` once they have explicitly said to replace it…
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
handle * | string | |
confirm | boolean |
set_event_published
Take the public event page live, or take it down. Lighter than the finalize lifecycle — this just flips whether `/e/{token}` renders. `published=False` takes the page down without deleting anything.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
published * | boolean |
set_landing_mode
Choose which landing surface the public page renders. `simple` is the preset layout driven by the theme. `professional` is the block builder, which renders the landing document. `envelope` is the envelope-style page, which renders its own document (save it with `set_landing_document(variant="envelope")`). Switching to `professional` with no document yet gives an empty page — generate one with `design_landing_page` first.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
landing_mode * | string |
set_landing_document
Save the block document for the landing page. `document` is the block-builder object (`{root, content, zones}`). Usually you'd take one from `run_landing_designer` (or edit the one in `get_event_state` → `draft.landing_document`) rather than composing it by hand. Saves are staged: guests keep seeing the published version until `publish_landing_page`. EXCEPT the first save on an event whose page was never published (and whose workspace can send email): that save makes the public page exist — showing the version from before this save until you publish. Say so before saving on a new event.…
| Parameter | Type | Description |
|---|---|---|
document * | object | |
event_id * | string | |
variant | string |
design_landing_page
Generate, restyle, or rearrange the landing page from a description. `prompt` is plain English — "make it feel more formal", "move the speakers above the agenda", "build a page for a fintech dinner". Pass the current `document` to have it edited in place; omit it to generate from scratch. Returns `{status, run_id, document, message, images, saved: False}` — it does NOT save. Show the user what changed, then persist with `set_landing_document`. Same as `run_landing_designer`, which it now calls: the endpoint is a Server-Sent Events stream, and the plain `_post` this used to make read it…
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
prompt * | string | |
document |
smart_import_attendees
Import attendees with configurable duplicate detection. `dedupe_columns` picks how a duplicate is recognised — any of `email` (default, strongest), `name`, `linkedin_url`, or `company+name`. Choose deliberately: `name` alone will merge two different people who share a name. `update_existing=True` enriches matched contacts with the new data; `False` skips duplicates untouched. Use `False` when the incoming file is lower quality than what's already stored.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
rows * | array | |
dedupe_columns | ||
update_existing | boolean |
delete_all_attendees
Remove EVERY attendee from an event. Irreversible. Clears proposals, RSVPs, and check-ins in one go. `also_delete_from_crm=True` additionally deletes those people from the org's CRM — that reaches well beyond this event and takes their history with them. Treat it as a separate decision and get explicit agreement to that specifically, not just to clearing the event. Check the attendee count first so the user knows the scale.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
also_delete_from_crm | boolean | |
confirm | boolean |
set_event_kind
Set the event's kind (dinner, panel, mixer, and so on). Feeds the AI features that reason about event type — suggestions, matchmaking instructions, landing copy.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
event_kind * | string |
get_signup_sources
Where an event's sign-ups came from — the attribution breakdown. Drill into any one row with `get_attribution_people`.
| Parameter | Type | Description |
|---|---|---|
event_id * | string |
get_attribution_people
Who is behind one row of the attribution table. `source` is a source key from `get_signup_sources`.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
source * | string |
get_email_open_people
Who was emailed for this event and who opened. Per-person detail behind the open rate in `get_event_analytics`. Open tracking undercounts — clients that block pixels never register — so treat it as a floor, not a measurement.
| Parameter | Type | Description |
|---|---|---|
event_id * | string |
get_notes_overview
Aggregate view of the notes taken at an event. Coverage and volume, not content — who wrote how much about whom. For the notes themselves use `get_all_event_notes`.
| Parameter | Type | Description |
|---|---|---|
event_id * | string |
get_campaign_attribution
Pavoot staff only (platform admin with an @pavoot.com account): what each tagged link brought in, across every event page and pavoot.events. Read-only, counts only (no names or emails). Any other account gets a 403. One row per (utm_source, utm_campaign, utm_content), with `kind`: `campaign` (a tagged link), `referral` (untagged, named from the referrer: linkedin, x, reddit, instagram, google or the site's host), `marketplace` (a pavoot.events sign-up or pledge with no known outside source), `invite` (personal invite links) and `direct`. Counts per row: eventPageViews, eventRegistrations (sti…
| Parameter | Type | Description |
|---|---|---|
campaign | ||
date_from | ||
date_to | ||
format | string | |
utm_source |
get_sms_contact_card
The sender identity attached to outgoing SMS.
set_sms_contact_card
Set the sender identity shown on outgoing SMS. This is how recipients see who texted them, so it's worth getting right before any real send.
| Parameter | Type | Description |
|---|---|---|
avatar_url | ||
display_name | ||
first_name | ||
last_name |
discover_luma_event
Inspect a Luma event before importing it. Returns its registration questions, sample answers, and a proposed mapping onto Pavoot fields — plus any mapping saved earlier, so the user sees their existing choices. Run this before `import_luma_event_by_url` when the event has custom questions, so the answers land in the right columns instead of being dropped.
| Parameter | Type | Description |
|---|---|---|
url * | string |
import_luma_event_by_url
Import a Luma event from its public URL (`lu.ma/xyz`). Requires the connected Luma account to be a host or manager on that calendar — a public URL alone isn't enough. `mappings` routes the event's custom questions onto Pavoot fields; get a proposed set from `discover_luma_event`. Without it, custom answers may not be imported. Backgrounded server-side and waited on here; returns the same run shape as `import_luma_event`. Check `status` before trusting the counts.
| Parameter | Type | Description |
|---|---|---|
url * | string | |
mappings |
list_luma_watched_events
Co-hosted Luma events the browser extension is watching. Each is annotated with the matching imported Pavoot event when one exists, so you can see what's synced and what isn't. Watching exists for calendars the API can't reach — events someone co-hosts but doesn't own — where the extension scrapes instead.
watch_luma_event
Start or stop watching a co-hosted Luma event via the extension. `unwatch=True` stops watching. Stopping does not remove anything already imported.
| Parameter | Type | Description |
|---|---|---|
luma_event_api_id * | string | |
unwatch | boolean |
decide_rsvps_bulk
Approve or decline a whole selection from the approval queue. Prefer this over looping `approve_rsvp` — all rows are decided in ONE transaction holding the event lock, so a batch larger than the remaining capacity fills the last seats and waitlists the overflow. Decided one at a time, every row reads the same stale count and you oversell the event. Rows not in a decidable state (already approved, already declined) are skipped and reported in `skipped` — one stale row doesn't fail the other 49. Report `skipped` back rather than claiming all succeeded. `notify=True` (default) emails each…
| Parameter | Type | Description |
|---|---|---|
decision * | string | |
event_id * | string | |
ids * | array | |
accept_waitlist | boolean | |
confirm | boolean | |
confirm_overflow | boolean | |
notify | boolean | |
reason |
get_event_enrichment_provider
Which contact-enrichment provider this event uses. `provider` is null when the event follows the global order. `effective_order` is what an Enrich action would actually walk right now — that's the one to quote, since it accounts for the fallback.
| Parameter | Type | Description |
|---|---|---|
event_id * | string |
set_profile_photo
Set or remove the calling user's profile photo. `image_path` is a path on this machine (jpg, png, webp, gif, heic; max 10 MB). `remove=True` deletes the current photo. The photo appears against this user's notes in the notetaker, so it's what teammates see beside their contributions.
| Parameter | Type | Description |
|---|---|---|
image_path | ||
remove | boolean |
upload_crm_contact_avatar
Upload a photo for a CRM contact from a local file. For when neither LinkedIn nor a URL works — `set_crm_contact_avatar` handles those and needs no file.
| Parameter | Type | Description |
|---|---|---|
crm_id * | string | |
image_path * | string |
get_event_company_enrichment
One company's full enrichment record, in the context of an event. Fetched on demand — the attendee list carries only a summary, so this is where the detail lives when a user asks about a specific company.
| Parameter | Type | Description |
|---|---|---|
company_id * | string | |
event_id * | string |
upload_landing_image
Upload an image for the landing-page builder's Image / Logo blocks. Returns the stored URL, which you then reference from the landing document — uploading alone does not place it on the page. Pair with `set_landing_document` or `design_landing_page`. jpg, png, webp, gif, heic; max 10 MB.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
image_path * | string |
upload_rsvp_avatar
Upload a profile picture for an attendee from a local file. A manual override. Try `set_rsvp_avatar_from_linkedin` first — it needs no file and usually gets a better photo.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
image_path * | string | |
rsvp_id * | string |
transcribe_audio
Transcribe an audio file from this machine. The general-purpose transcriber behind voice notes. To save a voice note about someone, use `add_attendee_note(audio_path=...)` instead — it transcribes too, and keeps the recording on the note (this tool's `audio_s3_key` can't be attached afterwards). To re-run transcription on a note already in Pavoot, use `retranscribe_note`. mp3, m4a, wav, webm, ogg, flac. Up to 100 MB / 30 minutes, and rate limited to 30 an hour.
| Parameter | Type | Description |
|---|---|---|
audio_path * | string |
get_calendar_sync_status
Is the user's calendar connected for attended events, and how is it set? Returns `connected`, `active_provider` ('gmail' = Google, 'outlook'), `mode` (auto / suggest / off), `last_synced_at`, `last_error`, `pending_suggestions` (entries waiting for a yes or no), the connected `accounts`, and `settings_url` — where to send the user to connect a calendar (that step needs a browser). `available: false` means the feature isn't switched on for this install yet.
| Parameter | Type | Description |
|---|---|---|
format | string |
set_calendar_sync
Change how the calendar sync brings in events the user attends. `mode`: 'auto' (add entries with an event-platform link right away, suggest the rest), 'suggest' (add nothing without asking), 'off'. `oauth_id`: which connected account's calendar to read — one of the `accounts` from `get_calendar_sync_status`. Switching it on also reads the calendar straight away; the result is in `sync`.
| Parameter | Type | Description |
|---|---|---|
mode | ||
oauth_id |
sync_calendar_now
Read the user's calendar now instead of waiting for the next check. Use after they say they just RSVP'd to something. 409 when the sync is off. At most once every 20 seconds (a faster call returns `throttled: true`).
list_calendar_suggestions
Calendar entries that look like events the user is going to, waiting for a yes or no. Each has `id` (pass to accept / dismiss), `title`, `starts_at`, `location`, `platform` (luma / partiful / … when an event page was found), `organizer_name`, `confidence` (high = event-platform link, medium = looks like an event), `signals` (why), and `teammates_going` (teammates who already added it — accepting joins the same event). Personal: never a teammate's calendar.
| Parameter | Type | Description |
|---|---|---|
format | string |
accept_calendar_suggestion
Add a suggested calendar entry as an event the user attends. Creates the attended event (or joins the one a teammate already added) and puts the user on it, so it shows in their notetaker. Returns `event_id`.
| Parameter | Type | Description |
|---|---|---|
suggestion_id * | string |
dismiss_calendar_suggestion
Say a suggested calendar entry isn't an event the user is going to. `never_from_organizer=True` also stops every future suggestion from the same organizer (and dismisses their other open ones). Undo that in the web app's Settings → Calendar.
| Parameter | Type | Description |
|---|---|---|
suggestion_id * | string | |
never_from_organizer | boolean |
list_upcoming_calendar
The user's next three weeks of calendar, read live, to pick an event the sync didn't suggest. Each entry: `calendar_event_id` (pass to `add_calendar_entry_as_attended`), `title`, `starts_at`, `location`, `looks_like_event`, `added_event_id` (already added), `hosted_event_id` (the org hosts it already). Video meetings are left out. Not stored anywhere.
| Parameter | Type | Description |
|---|---|---|
format | string |
add_calendar_entry_as_attended
Add any calendar entry as an event the user attends. `calendar_event_id` from `list_upcoming_calendar`. Returns `event_id`; `hosted: true` means the org hosts that event already and it was not copied.
| Parameter | Type | Description |
|---|---|---|
calendar_event_id * | string |
create_attended_event
Create an event the user is attending that isn't on their calendar. `starts_at` / `ends_at` as ISO 8601 with a timezone (`2026-10-15T19:00:00-07:00`); without `starts_at` the event is dated now (the usual case: they're at it). Puts the user on it. Returns `id`. Ask for the name if the user didn't give one — don't invent it.
| Parameter | Type | Description |
|---|---|---|
name * | string | |
ends_at | ||
location | ||
starts_at |
get_happening_now
What the user is at right now. `events`: attended events they're going to that are on now (from 20 minutes before the start to the end). `suggestions`: calendar entries that look like an event, on now, not added yet — offer to add them with `accept_calendar_suggestion`.
| Parameter | Type | Description |
|---|---|---|
format | string |
list_team_attended_events
Events the user's TEAMMATES are attending that the user isn't. Org admins only — for everyone else this is always empty (the API leaves teammates' attended events out). Each event carries `attending_team` (who is going).
| Parameter | Type | Description |
|---|---|---|
format | string |
list_event_team_attendees
Who from the team is going to an attended event (`user_id`, `name`).
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
format | string |
add_event_team_attendee
Put a teammate (or the user) on an attended event, so it shows in their notetaker. Anyone may add themselves; adding someone else takes being on the event already, or being an org admin (403 otherwise). `user_id` from `list_org_members`. Returns the updated list.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
user_id * | string |
remove_event_team_attendee
Take someone off an attended event. Same rule as adding: yourself always, others only if you're on it or an org admin. The last person can't be removed (409): add a teammate first, or delete the event if nobody from the team is going.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
user_id * | string |
get_meeting_invite_setup
Can the user send someone a meeting invite, and how? `connected`: a Google or Outlook calendar is connected (required — the invite comes from the user's own calendar and address; there is no send-from-Pavoot option). `provider`, `account_email`, `auto_video` ('google_meet' / 'teams' — what a virtual meeting gets by default), `video_link` (the user's own saved link, e.g. a Zoom room), `durations` (allowed lengths in minutes).
set_meeting_video_link
Save the user's own video link (their Zoom room, say) for virtual meeting invites, used instead of a Meet / Teams link when they choose it. Empty string removes it. Must be a full https:// link.
| Parameter | Type | Description |
|---|---|---|
video_link * | string |
find_free_meeting_slots
Free slots on the user's own calendar that day, between 9:00 and 18:00 in `timezone` (IANA, e.g. 'America/Los_Angeles' — ask the user if you don't know it). `date` is YYYY-MM-DD. Returns `slots` (ISO start times).
| Parameter | Type | Description |
|---|---|---|
date * | string | |
timezone * | string | |
duration_minutes | integer |
send_meeting_invite
Send a person a meeting invite from the user's own calendar. REQUIRES `confirm=True` — the user's calendar emails the person a real invitation from the user's address. Show the user who it goes to, the day and time (or that Pavoot will pick a free one), the length, and where, and get a yes first. `date` YYYY-MM-DD and `time` HH:MM in `timezone` (IANA). Without `time`, Pavoot picks a random free slot that day between 9:00 and 18:00 from the user's calendar (409 if there's none). `mode` 'virtual' (default) gets a Google Meet / Teams link from the user's account (`video='auto'`) or their save…
| Parameter | Type | Description |
|---|---|---|
crm_contact_id * | string | |
date * | string | |
timezone * | string | |
confirm | boolean | |
duration_minutes | integer | |
event_id | ||
location | ||
mode | string | |
note | ||
time | ||
title | ||
video | string |
list_meeting_invites
Meeting invites already sent to this person by anyone in the org, newest first (`starts_at`, `sent_by`, `mine`, `video_link`).
| Parameter | Type | Description |
|---|---|---|
crm_contact_id * | string | |
format | string |
list_sms_threads
The Messages page: every text conversation, newest activity first. One row per person (not per message): their name/company when they are in the CRM, the last message and who sent it, `unanswered` (their message is the latest and nobody has dealt with it), message counts, the event the thread belongs to and their RSVP status for it. `unanswered_only=True` is the "waiting on a reply" filter. `event_id` keeps threads whose LAST message was filed under that event — a conversation that moved on to a later event follows it, so an older thread with one of this event's guests may not appear. `lim…
| Parameter | Type | Description |
|---|---|---|
event_id | ||
format | string | |
limit | ||
unanswered_only | boolean |
get_sms_thread
One text conversation, oldest message first. `number` is the other person's phone number WITH country code (spaces, dashes and brackets are fine) or a thread's `contact_digits`. Threads are stored under the full international digits, so a national-format number ("(415) 555-2671") does not match directly. When that finds nothing and the number has at least 9 digits, this looks the number up among your 500 most recent threads by its last 9 digits (the API's own matching rule); if exactly one thread matches it is returned, with `resolved_number` set to the `contact_digits` actually used — pass…
| Parameter | Type | Description |
|---|---|---|
number * | string |
get_sms_unanswered_count
The Messages badge: how many CONVERSATIONS are waiting on a reply. Counts threads, not messages. `event_id` counts threads whose LAST message was filed under that event (as `list_sms_threads` filters). Returns `{count}`.
| Parameter | Type | Description |
|---|---|---|
event_id |
get_sms_by_contact
Latest text state per CRM contact — the attendee grid's Reply column. Returns `{contacts: {crm_contact_id: {...}}}`; each entry has the last message (`body`, `direction`, `occurred_at`), `unanswered`, the thread's `contact_digits`, and `inbound_body` / `inbound_at` — the most recent thing THEY said, even if we've replied since. Only people who have a thread appear. `event_id` keeps contacts whose LAST message was filed under that event, so a guest whose texting moved on to a later event drops out of this event's map.
| Parameter | Type | Description |
|---|---|---|
event_id |
sync_sms_inbox
Pull recently active conversations from the phone provider. Picks up replies the webhook missed and messages typed straight into the provider's app. Sends nothing. Throttled per org, so a quick second call may come back `skipped: "throttled"`. Returns `{imported, skipped, error}`; an `error` means the provider couldn't be read — the local inbox is still valid.
sync_sms_thread
Pull one conversation from the phone provider. Same as `sync_sms_inbox` but for one person — use before reading a thread when the user says a reply they can see on their phone is missing. Sends nothing. Throttled per thread. Returns `{imported, skipped, error}`. `number` must carry its country code ("+1 415 555 2671", or the thread's `contact_digits` from `list_sms_threads`): threads are stored under the full international digits, and a national-format number ("(415) 555-2671") reaches no thread. `get_sms_thread` resolves a national number and returns the right one as `resolved_number`.
| Parameter | Type | Description |
|---|---|---|
number * | string |
mark_sms_thread_handled
Clear a conversation from the "unanswered" badge without replying. For texts answered by phone, in person, or that need no answer. Sends nothing. Replying through `reply_to_sms_thread` marks the thread handled on its own, so don't call both. Returns `{marked, header}` — `marked: 0` with `header: None` means no thread was found under that number. `number` must carry its country code ("+1 415 555 2671", or the thread's `contact_digits` from `list_sms_threads`): threads are stored under the full international digits, and a national-format number ("(415) 555-2671") reaches no thread. `get_sms_…
| Parameter | Type | Description |
|---|---|---|
number * | string |
reply_to_sms_thread
Text a reply to someone in an existing conversation. REQUIRES `confirm=True` — this sends a real SMS / iMessage to a real person and cannot be unsent. Show the user the exact text and who it goes to (`get_sms_thread` gives the name) and get a yes first. `number` must carry its country code ("+1 415 555 2671", or the thread's `contact_digits` from `list_sms_threads`): threads are stored under the full international digits, so a national-format number ("(415) 555-2671") reaches no thread and the reply 404s. This tool does NOT guess a country code or resolve the number for you — it sends to…
| Parameter | Type | Description |
|---|---|---|
body * | string | |
number * | string | |
confirm | boolean |
get_attendee_followup_log
Every follow-up this org has sent one attendee, oldest first. Includes both the ones Pavoot sent (`recorded_via: "pavoot"`, with their own open counts) and the ones marked by hand (`"manual"` — a LinkedIn DM, a text, a message from the host's own inbox). Returns `{contact_id, sends, summary, known_labels}`. `summary` has the count per channel and last-sent time; `known_labels` are channel names already used on this event for `channel="other"`.
| Parameter | Type | Description |
|---|---|---|
contact_id * | string | |
event_id * | string |
mark_attendee_followup_sent
Record that you already followed up with an attendee yourself. The "Mark as sent" step for follow-ups Pavoot can't send: a LinkedIn DM pasted into LinkedIn, an email from your own inbox, a WhatsApp, a chat. This SENDS NOTHING — it only writes the history, so the person stops showing as "not followed up". To actually email someone use `send_attendee_followup`. APPENDS: marking twice records two follow-ups. A wrong mark can be taken off the history with `delete_attendee_followup_log_entry`, but that removes the log entry only — see "Side effects" below for what stays. Args: channel:…
| Parameter | Type | Description |
|---|---|---|
contact_id * | string | |
event_id * | string | |
channel | string | |
label | ||
note | ||
sent_at | ||
snapshot_draft |
delete_attendee_followup_log_entry
Take back a follow-up that was marked as sent by mistake. REQUIRES `confirm=True` — the entry (and any note or draft snapshot on it) is deleted permanently. This removes the LOG ENTRY only. It does not undo what marking did besides: if marking made you the contact's Owner, you stay the Owner (change it in the CRM if that was wrong), and an email/LinkedIn draft recorded as a "sent" revision at marking time stays in the draft history. `send_id` is the entry's `id` from `get_attendee_followup_log`. Only hand-marked entries (`recorded_via: "manual"`) can be removed; ones Pavoot actually sent…
| Parameter | Type | Description |
|---|---|---|
contact_id * | string | |
event_id * | string | |
send_id * | string | |
confirm | boolean |
preview_followup_template
Render follow-up email text exactly as a guest of this event would get it. Pass the template text — for a saved template that's its `subject` and `content` (as `body`) from `list_followup_templates`; for an edit, the new text. Merge fields resolve against the event and one real guest: `crm_contact_id` picks who; without it, the first guest by name. It falls back to a sample person when the event has no guests, when `crm_contact_id` isn't one of this event's guests in your CRM (it does NOT fall back to another real guest), and always for a co-host — the guests' contacts belong to the hosti…
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
body | ||
crm_contact_id | ||
subject |
preview_invite_template
Render invitation text exactly as a guest of this event would get it. Pass the template's `subject` and `body` (from `list_invite_templates`, or your edited text). Merge fields resolve against the event's title, date, venue and links and one real guest: `crm_contact_id` picks who; without it, the first guest by name. It falls back to a sample person when the event has no guests, when `crm_contact_id` isn't one of this event's guests in your CRM (it does NOT fall back to another real guest), and always for a co-host — the guests' contacts belong to the hosting org. `used_real_guest` says whi…
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
body | ||
crm_contact_id | ||
subject |
copy_followup_template
Make a new follow-up template of your own, starting from an existing one. The "Copy" action. Mostly for co-hosted events: a template another organization shared on this event can't be edited by you, so copy it and edit the copy (pass that `event_id` — a shared template can only be copied into the event it was shared on). Also works on your own templates. With `event_id` the copy belongs to that event; without, it goes in your org library named "<name> (copy)". The copy is never the default and doesn't hide the original. Returns the new template.
| Parameter | Type | Description |
|---|---|---|
template_id * | string | |
event_id |
override_followup_template
Customise an org follow-up template for ONE event only. The "Customize for this event" action. Creates an event-only copy linked to the org template; from then on this event uses the copy and the org template disappears from this event's list. Other events keep using the org template unchanged. Edit the returned copy with `update_followup_template`; deleting it reverts the event to the org version. Keeps the default star if the original had it and the event has no default of its own. `template_id` must be an ORG-library template (400 if it already belongs to an event — edit that directly).…
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
template_id * | string |
copy_linkedin_template
Make a new LinkedIn follow-up template of your own from an existing one. Same as `copy_followup_template`, for the LinkedIn library: the way to act on a template a co-host shared (pass that event's `event_id`), or to duplicate one of your own. Without `event_id` the copy goes in your org library as "<name> (copy)". Returns the new template.
| Parameter | Type | Description |
|---|---|---|
template_id * | string | |
event_id |
override_linkedin_template
Customise an org LinkedIn template for ONE event only. Same as `override_followup_template`, for the LinkedIn library: this event gets its own linked copy and stops seeing the org template; other events are unaffected. Idempotent. Edit the copy with `update_linkedin_template`. Returns the event copy.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
template_id * | string |
copy_invite_template
Make a new invitation template of your own from an existing one. The "Copy" action: how a co-host takes an invitation template another organization shared on the event (pass that `event_id`), or a way to duplicate one of your own. With `event_id` the copy belongs to that event; without, it goes in your org library as "<name> (copy)". Match conditions: when copying ANOTHER org's template, conditions on their private CRM columns (`crmcustom:` ids) are dropped — your contacts don't carry those columns — and the rest come along. Then, if the conditions that are left would clash with one of y…
| Parameter | Type | Description |
|---|---|---|
template_id * | string | |
event_id |
override_invite_template
Customise an org invitation template for ONE event only. The "Customize for this event" action — e.g. the org default, but saying *dinner* instead of *breakfast* for this one event. Creates an event-only copy (same name, conditions and text) linked to the org template; this event's list, and therefore which template each guest is matched to, uses the copy from then on. Other events keep the org template unchanged. Edit the copy with `update_invite_template`; deleting it brings the org template back. `template_id` must be an ORG-library template. Idempotent. Returns the event copy.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
template_id * | string |
list_invite_template_condition_columns
Columns an invitation template's match conditions can use. Invitation templates can carry `match_conditions` ({column_id: [values]}) deciding which guests get them. This lists the usable columns with their attendee-grid labels: built-ins, your CRM columns, and — with `event_id` — that event's own columns (org-library templates can't use event columns). Option columns include their options; for the rest, call `list_invite_template_condition_values`. Returns `{columns: [{id, label, kind, options?}]}`.
| Parameter | Type | Description |
|---|---|---|
event_id |
list_invite_template_condition_values
Values one condition column can take, most used first. `column` is an `id` from `list_invite_template_condition_columns`. Returns predefined options (stages, payment states, categories, scores) plus every value in use — on this event's guests with `event_id`, across all your events without. `limit` 1–500, default 200. `blank_token` is the value meaning "is empty". Returns `{column, values: [{value, count}], blank_token}`; 400 for a column that can't be used here.
| Parameter | Type | Description |
|---|---|---|
column * | string | |
event_id | ||
limit |
preview_reminder_audience
"If I save this reminder, does it send now — and to how many?" Read-only check to run BEFORE `create_reminder` / `update_reminder` with the schedule you're about to save. Same scheduling arguments: `offset_minutes` before the start, or `send_at_local` ("HH:MM" in the event's timezone) plus `days_before`. `rsvp_statuses` is the audience (an empty list means nobody). `reminder_id` when editing an existing reminder, so guests it already reached aren't counted. Audience when `rsvp_statuses` is omitted: with `reminder_id`, this looks the reminder up on `event_id`'s list (`list_reminders`) and u…
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
offset_minutes * | integer | |
days_before | ||
reminder_id | ||
rsvp_statuses | ||
send_at_local |
list_future_interest_responses
Read the future-interest answers — the Reports › Forms responses table. What people (mostly guests who declined) said they'd want to attend, newest first, with their free text. `get_future_interest_summary` gives the counts; this is the answers themselves. Filters: event_id: One event's responses. answered_only: Only submitted forms (default also includes people who opened the form and left). q: Name or email, loose match. question: A question slug — rows that answered it. option: One answer to `question` (ignored with…
| Parameter | Type | Description |
|---|---|---|
answered_only | boolean | |
event_id | ||
format | string | |
limit | ||
offset | ||
option | ||
q | ||
question |
get_attendance_report
Org-wide attendance: who said yes vs who actually turned up. The Reports › Attendance page. Rates are SHOW-UP rates (higher is better; None when nobody said yes). `sections` picks parts of the payload — "summary" (the KPI totals, always included), "events" (per event rates and the trend), "breakdown" (by guest category and signup source), "people_dist" (how many people no-showed 1, 2, 3, 4+ times), "compare" (show-up rate grouped by platform, your role, event type, day of week, time of day, event size and approval-vs-open registration, plus `insights`: the biggest gaps with enough events…
| Parameter | Type | Description |
|---|---|---|
date_from | ||
date_to | ||
event_ids | ||
event_kinds | ||
exclude_events | boolean | |
host_roles | ||
include_no_door | boolean | |
involvement | ||
platforms | ||
sections |
list_reportable_events
Every event the attendance report can cover — the report's event picker. Finished events your org ran, plus co-hosted ones where you were granted analytics. Each has `involvement` (main / cohost / sponsored / attended — the "Your role" filter's value for it), `kind` (hosting / sponsored / attended / cohosted), `role` (main / cohost), `platform` (luma / partiful / pavoot), `calendar_name` (the Luma calendar that manages it, when known) and `has_door_data` (False = nobody was checked in, so the report drops it unless `include_no_door=True`). Use these ids for `event_ids`. `calendars` lists…
| Parameter | Type | Description |
|---|---|---|
format | string |
list_no_show_people
Who keeps not showing up — the Attendance report's People tab. Ranked list of people who said yes and didn't come. Each row has name, company, title, email, `noshow_count`, `going_count`, `attended_count`, `show_rate_pct`, `last_noshow_at` and the events they missed. search: Name, company or email. min_times: Only people with at least this many no-shows (default 1). sort: "times" (most no-shows, default), "rate" (worst show-up rate) or "recent" (latest no-show). page/page_size: Paging. `page` starts at 1 (1 = first page; 0 is rejected);…
| Parameter | Type | Description |
|---|---|---|
date_from | ||
date_to | ||
event_ids | ||
event_kinds | ||
exclude_events | boolean | |
format | string | |
host_roles | ||
include_no_door | boolean | |
involvement | ||
min_times | ||
page | ||
page_size | ||
platforms | ||
search | ||
sort |
get_photos_auto_import_config
How this event's Photos auto-import works, and how it's doing. The event's Photos card. Returns `hasPhotos`, `consentMode` ("question" = guests are asked for photo consent on the sign-up form, "host_warranty" = the question was removed and the host vouches for consent, "off"), `autoImportEnabled`, `active`, `acknowledged` / `acknowledgedAt` (whether the host accepted the consent warranty), `projectError`, the `warranty` text the host must accept, and a `summary` of counts (imported, awaiting_photo, failed, skipped_no_consent, pending, withdraw_stuck, reasons). Note: when auto-import is activ…
| Parameter | Type | Description |
|---|---|---|
event_id * | string |
get_photos_auto_import_status
Just the attendees-page Photos banner: is import active, is it paused. Returns `{active, needsAcknowledgment, summary}`. `needsAcknowledgment` true means import is PAUSED until the host accepts the consent warranty (`accept_photos_consent_warranty`). In `summary`, `awaiting_photo` is people held back for having no usable face photo, and `withdraw_stuck` is people who asked to be removed but are still indexed — flag that to the user. Like the config read, this nudges the import to run.
| Parameter | Type | Description |
|---|---|---|
event_id * | string |
accept_photos_consent_warranty
Accept responsibility for photo consent on this event, un-pausing auto-import. REQUIRES `confirm=True`. This is a legal attestation recorded in the user's name (with the exact warranty text and version): they confirm they have their guests' consent to be face-matched in Photos, in place of asking each guest. The first call (without confirm) reads the event's Photos config and returns the warranty text VERBATIM in the confirmation summary — show it to the user word for word, and only proceed if THEY accept it. Never accept on their behalf. Only valid when the event's consent question was re…
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
confirm | boolean |
retry_photos_auto_import
Run the Photos auto-import for this event now — the banner's Retry button. REQUIRES `confirm=True`: it pushes checked-in, consenting guests (with their photos) to Photos for face matching, and retries rows that had given up. Use after fixing what made rows fail (e.g. a missing photo or a Photos project error). The server waits for the run to finish before answering, which can take a few minutes — longer than this client waits (60 s). Returns `{ok, summary}` with fresh counts when it finishes in time; otherwise `{started: True, note}` — the run carries on server-side, so DO NOT retry (t…
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
confirm | boolean |
email_get_contact_emails
Every email Pavoot sent this person for the event, newest first, each with `open_count`, every open in `opens` [{at, likely_bot}] (likely_bot = a scanner or Apple's privacy prefetch, not counted), `click_count`, `replied_at`, and the `sequence_name` / `step_position` it was ("Invitation follow-ups", 2 = follow-up 2); plus their follow-up schedules in `sequences` [{sequence_id, enrollment_id, status, stop_label, next_position, next_send_at, log}]. What a reply said is not here: see `email_get_replies`.
| Parameter | Type | Description |
|---|---|---|
crm_contact_id * | string | |
event_id * | string |
email_get_replies
This person's replies to emails the CALLER sent for the event: `replies` [{received_at, subject, snippet (the start of their message), likely_auto (out of office or bounce notice), replied_to_subject}]. Replies to a teammate's emails stay with that teammate (empty here). Needs a mailbox connected for reply detection (`email_get_reply_watch`).
| Parameter | Type | Description |
|---|---|---|
crm_contact_id * | string | |
event_id * | string |
email_get_reply_watch
Whether reply detection is on for the caller: `available` (switched on for the organization) and the `accounts` connected for it [{provider, email, status, last_event_at}]. Without one, follow-ups still stop on RSVP, bounce and the event starting, but not on a reply. Connecting is a browser sign-in: send the user to Settings, Email, Reply detection (`get_app_page_link`).
update_invite_followup_draft
Edit one of a guest's drafted follow-ups (`position` 1 = the first after the invitation; the draft's `followups` in `list_invite_drafts`). `wait_minutes`: after the previous email went. `subject` only matters for a follow-up that is a new email (not a reply in the thread). Keeps the edit if the invitation is redrafted. Withdraws the invitation's approval: one approval covers everything that will be sent, so approve it again (`approve_invite_draft`). Refused once that follow-up was sent. Returns the draft's `followups` and `followups_state`.
| Parameter | Type | Description |
|---|---|---|
draft_id * | string | |
event_id * | string | |
position * | integer | |
body | ||
subject | ||
wait_minutes |
email_sequence_person
One person's follow-ups (`sequence_id` and `enrollment_id` from `email_get_contact_emails`): pause | resume (also undoes a Stop you made) | stop (nothing more goes to them) | skip_step (skip their next follow-up) | unskip (undo the last skip) | send_now (their next follow-up goes now, in sending hours, after the usual checks; needs confirm=True).
| Parameter | Type | Description |
|---|---|---|
action * | string | |
enrollment_id * | string | |
sequence_id * | string | |
confirm | boolean |
list_attendee_label_options
List the choices for one of the attendee table's chip columns. `kind` picks the column: `"attendance"` (the **Attendance** column — "Not messaged", "Asked to confirm", "Confirmed showup", …), `"segment"` (the **Segment** column — the host's own slices like "Hosts" / "F26"), or `"badge_role"` (the **Badge role** column). Call this before `update_rsvp_columns` to turn a label the user said into the stage id the setter needs. The list is the EVENT's vocabulary (the main host's), so a co-host sees the same choices the host made. Attendance is seeded with defaults on first read; Segment and…
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
kind * | string |
list_signup_source_options
List the values the **Signup source** column can be pinned to. Returns `{options: [{key, label}]}` — the four invite channels (`invite:email`, `invite:sms`, `invite:linkedin`, `invite:other`), then `personal_link` ("Personal invite link"), `direct` ("Public event link") and `unattributed` ("Added by host or imported"). Pass a `key` to `update_rsvp_columns(signup_source=…)`. UTM and platform sources cannot be pinned by hand. Main host only (a co-host gets a 403).
| Parameter | Type | Description |
|---|---|---|
event_id * | string |
update_rsvp_columns
Edit one attendee's chip / owner / phone / signup-source cells. The sibling of `update_rsvp_attributes` (category, want-to-talk-to, invite preference, Pavoot owner, invite sent): it covers the other attendee-table columns. Pass only what changes; each field is its own write and you can set several in one call. Each `clear_*` flag empties that cell and wins over a value passed alongside it. **Attendance / Segment / Badge role** — `attendance_stage_id`, `segment_stage_id`, `badge_role_stage_id`. Ids come from `list_attendee_label_options(kind=…)`; an id from the wrong column is refused. St…
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
rsvp_id * | string | |
attendance_stage_id | ||
badge_role_stage_id | ||
clear_attendance_stage | boolean | |
clear_badge_role_stage | boolean | |
clear_owner | boolean | |
clear_phone | boolean | |
clear_segment_stage | boolean | |
clear_signup_source | boolean | |
owner_user_id | ||
phone | ||
segment_stage_id | ||
signup_source |
set_rsvp_custom_field
Set (or clear) one custom-column cell for one attendee. Custom columns are the event's own extra columns — imported CSV fields and landing-page question answers ("YC batch", "21+?", "Team size"). Get `slug`s from `list_rsvp_custom_columns`; an unknown slug is a 404 rather than a silent write. `value` is what the host would type. The column's own type decides how it is stored: number columns parse numbers ("1,200" is fine, "lots" is a 400), yes/no columns take yes/no/true/false/y/n/1/0, text and URL columns store it with surrounding whitespace trimmed. `None`, `""` or whitespace-only clears…
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
rsvp_id * | string | |
slug * | string | |
value * |
get_rsvp_invite_history
Every invitation one guest got for this event — by whom and how. The invite chips on the attendee row say WHETHER a channel was used; this says who sent it, when, from which org, and via what. Covers email, SMS, LinkedIn and invites marked sent by hand, across every co-hosting org. Returns `{sends: [{id, channel, via, at, by_user_id, by_name, org_name, other_org, channel_label, …}]}`, oldest first. `via` is `pavoot` (sent through Pavoot), `manual` (someone marked it as sent) or `connection_request` (LinkedIn request only, no invite text yet). Main host only (a co-host gets a 403).
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
rsvp_id * | string |
mark_platform_decision
Mark guests to approve / decline on Partiful or Luma (or clear the mark). For guests who registered on Partiful / Luma, Pavoot cannot approve them itself — the platform owns the decision. This is the host's to-do list: mark them here, then act on the platform. Nothing about the guest's status changes and nobody is emailed. The next sync after the host acts on the platform moves them to yes / declined and clears the mark automatically. `decision=None` clears the mark. Up to 500 ids per call. Only platform registrations still awaiting a decision can be marked; a guest who signed up through P…
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
rsvp_ids * | array | |
decision |
preview_custom_column_merge
Preview merging an imported column into the CRM contact field. An import can keep the platform's answer for a field (Company, Title, LinkedIn, Phone, Work email, …) in its own "mirror" column beside the value Pavoot already had. This sorts every attendee into buckets so the host can decide what to keep — the "Merge into contact" dialog on the column menu. Reads only. Main host only (a co-host gets a 403). `target_field` defaults to the field the column mirrors; set it only to merge a plain column into a field (one of `company`, `title`, `phone`, `work_email`, `linkedin_url`, `website`, `…
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
slug * | string | |
limit | integer | |
target_field |
merge_custom_column_into_contacts
Write an imported column's values into the CRM contact field. REQUIRES `confirm=True` — it overwrites CRM contact records (org-wide, not just this event) and there is no undo. Always run `preview_custom_column_merge` first and tell the user the counts. What gets written, in one transaction: - `take_source_when_pavoot_empty` (default True): every contact whose Pavoot value is empty gets the imported value. - `decisions`: the conflicts the user resolved, as `[{"crm_contact_id": "...", "value": "..."}]` — the imported value or one they typed. A conflict with no decision is l…
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
slug * | string | |
clear_pavoot_when_identical | boolean | |
confirm | boolean | |
decisions | ||
delete_column | boolean | |
take_source_when_pavoot_empty | boolean | |
target_field |
set_my_notetaker_audiences
Set which guests YOUR organization's notetaker shows on this event. The co-host version of `set_notetaker_audiences`. That one sets the EVENT's default and only the main host may call it; this one stores your org's own choice and touches nothing else. Until an org calls this it follows the host's default, including later changes to it. Pick one or more of `sourced`, `invited`, `yes`, `checked_in`, `highlighted`; the notetaker shows anyone in ANY of them. Returns `{notetaker_audiences, notetaker_audience, scope: "org"}`.
| Parameter | Type | Description |
|---|---|---|
audiences * | array | |
event_id * | string |
preview_send_all_invites
What `send_all_invite_drafts` would do, without sending anything. Pass the same `contact_ids` / `include_invited_elsewhere` as the send-all you're about to run, so the numbers match it. Call this before asking the user to approve a send-all: it answers how many emails, from which address, and whether real sending is even switched on. `sender_id` (from `list_senders`) previews a specific sender; omitted, it resolves the same way send-all does. Returns `{total_pending, with_email, missing_email, not_approved, approval_enabled, identity: {resolved, sender_id, provider, from_email, from_name,…
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
contact_ids | ||
include_invited_elsewhere | boolean | |
sender_id |
approve_invite_draft
Approve one unsent email / SMS invitation for send-all. Send-all sends APPROVED drafts only; the rest wait in the app's Review tab. Approving sends nothing. Any later edit to the words or the recipient clears the approval, so approve after the last edit. `approved=False` withdraws it. `draft_id` from `list_invite_drafts` (rows carry `approved_at`). LinkedIn drafts aren't sent from Pavoot and can't be approved. A 409 means approval isn't switched on yet on this server — send-all then sends every draft, as before.
| Parameter | Type | Description |
|---|---|---|
draft_id * | string | |
event_id * | string | |
approved | boolean |
draft_invites_for_teammate
Hand email invitation drafts to a teammate to approve and send themselves, from their own mailbox, with their own signature (like a LinkedIn campaign waiting for its account owner). Sends nothing. Write the drafts first (`generate_invite_drafts`, `generate_invite_draft_for_attendee`, `update_invite_draft`), then call this. Their saved signature replaces whatever signature the drafts had (none if they haven't saved one). From then on only they can approve and send those drafts; your own approve-all and send-all skip them. Edits by anyone are still fine. Any existing approval is cleared. Who:…
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
all_unsent | boolean | |
contact_ids | ||
draft_ids | ||
teammate_email | ||
teammate_user_id |
approve_all_invite_drafts
Approve every unsent invitation on one channel that has somewhere to go (an email address / a phone number). Sends nothing. `contact_ids`: only these guests (crm_contact_id), e.g. the S26/F26 subset of a bigger list. Omitted = everyone. `include_invited_elsewhere`: also guests already invited another way (skipped by default), when the user chose them on purpose. Show the user what they're approving first (`list_invite_drafts`) — after this, `send_all_invite_drafts` sends every one of them. Returns the refreshed draft list plus `approved` (how many this call approved).
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
channel | string | |
contact_ids | ||
include_invited_elsewhere | boolean |
send_test_invite
Send ONE real invitation to yourself before sending the batch. REQUIRES `confirm=True` — it sends a real email. The first call returns `needs_confirmation`. A real email through the same sender and path as send-all, so the user sees the actual From line, signature and formatting. Only the recipient differs. Nothing is marked sent, no RSVP moves, and it is kept out of the invite funnel and open tracking. `to_email` defaults to the user's login address and may ONLY be one of their own addresses (login, a connected mailbox, or a verified shared address) — anything else is a 400, so this ca…
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
confirm | boolean | |
draft_id | ||
sender_id | ||
to_email |
save_invite_draft_for_contact
Save exactly this text as one guest's invitation for one channel. The invite composer's save: creates the draft if none exists yet, or replaces its text (status becomes `edited`). Use it when the guest has no draft for that channel (e.g. a LinkedIn message for someone who only had an email draft) — `update_invite_draft` needs an existing `draft_id`. Saves only; nothing is sent. `subject` is email-only (ignored for SMS and LinkedIn). The save replaces BOTH subject and body, so for email an omitted `subject` keeps the guest's current subject: the tool reads it from their existing email draft…
| Parameter | Type | Description |
|---|---|---|
body * | string | |
channel * | string | |
contact_id * | string | |
event_id * | string | |
confirm_linkedin | boolean | |
subject |
get_invite_channel_order
The order of the invite composer's channel tabs for this event. The first channel is the tab "Draft invites" opens on in the web app. Returns `{order: ["email", "sms", "linkedin"], saved}` — `saved=False` means the default order. Main host only (a co-host gets an error and sees the default).
| Parameter | Type | Description |
|---|---|---|
event_id * | string |
set_invite_channel_order
Reorder the invite composer's channel tabs for this event. A web-app layout preference only — e.g. `["linkedin", "email"]` makes the composer open on LinkedIn. Channels you leave out are appended in the default order. Changes nothing about what is sent. Main host only. Returns `{order, saved: true}`.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
order * | array |
get_event_briefing
The event briefing: which guests each teammate should find. The Briefing page. `view="me"` (anyone in the org) returns the caller's own list, suggestions, warm paths and the top unowned ICP matches. `view="team"` is org-admins only (403 otherwise) and returns every teammate's list plus unassigned and orphaned guests. Guest cards: `{id, name, title, company, status, score, score_reason, starred, list_owner, reached, talked_by, warm}`. `reached` = someone already marked "talked to" in the notetaker. Common keys: `settings` (`icp_override`, `excluded_user_ids`, `min_score`, `per_person_cap`),…
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
view | string |
refresh_event_briefing
Score this event's changed guests now (the briefing's Refresh button). Runs even when automatic scoring is paused, and retries guests that failed before. Waits for the scoring to finish. Returns `{scored, pending, failed, adopted, …}`; `busy: true` means a scoring pass was already running — fetch the briefing again shortly instead of re-calling.
| Parameter | Type | Description |
|---|---|---|
event_id * | string |
update_briefing_settings
Change how the briefing scores and splits guests. Org admins only. Pass only what changes: - `icp_override`: who matters at THIS event, replacing the org ICP for scoring (≤4000 chars). `clear_icp_override=True` goes back to the org ICP. Changing it rescores every guest on the next pass. - `excluded_user_ids`: teammates NOT going (get ids from the briefing's `members`). Replaces the whole list; `[]` = everyone is going. - `min_score` (0–10): the score a guest needs to count as priority. - `per_person_cap` (1–100): most guests suggested per teammate. Returns `{ok,…
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
clear_icp_override | boolean | |
excluded_user_ids | ||
icp_override | ||
min_score | ||
per_person_cap |
set_guest_list_owner
Put guests on a teammate's briefing list, or take them off. The briefing's "Add to my list" / "Assign to…" / "Remove". Pass `user_id` (a teammate from the briefing's `members`) to put the guests on that person's list, or `remove=True` to take them off whatever list they are on. Up to 500 guests per call. Anyone may add guests to their OWN list or take their own off. Putting guests on someone else's list, or moving / removing guests a teammate owns, is org-admins only — and all-or-nothing: if any guest in the batch needs admin rights, nothing is written (403). Returns `{updated, contact_…
| Parameter | Type | Description |
|---|---|---|
contact_ids * | array | |
event_id * | string | |
remove | boolean | |
user_id |
list_cohosts
Who is co-hosting this event, and what each co-host may do. Readable by the main host and every co-host. Returns `{main_host: {name}, cohosts: [{id, status, org_name, invited_email, invited_by_name, permissions, created_at, responded_at}], is_main_host, permission_defaults}`. `status` is `pending` (invited, not answered) or `accepted`. `org_name` only appears once accepted; `invited_email` only while pending and only to the main host. `permissions` is the effective set. Use `id` with `update_cohost_permissions` / `remove_cohost`.
| Parameter | Type | Description |
|---|---|---|
event_id * | string |
invite_cohost
Invite another organization to co-host, via someone's email address. REQUIRES `confirm=True` — it emails that person, and accepting binds their whole organization to the event (they see and work the guest list). Main host only. The person must already have a Pavoot account in a different org (a 404 "We couldn't invite that address" otherwise — tell the user to contact Pavoot support; a teammate is a 400). `message` is an optional note in the email (≤1000 chars). `permissions` overrides only the keys you pass, decided now so the co-host never holds more than intended. Inviting an addre…
| Parameter | Type | Description |
|---|---|---|
email * | string | |
event_id * | string | |
confirm | boolean | |
message | ||
permissions |
update_cohost_permissions
Grant or withdraw a co-host's permissions. Main host only. Partial: only the keys you pass change, e.g. `{"edit_landing_page": true, "change_rsvp": false}`. Takes effect on the co-host's next request; withdrawing does not undo what they already did. Works on pending invitations too. Unknown keys are a 400. Returns `{ok, permissions}` (the effective set). Permission keys (absent = default): `change_rsvp` (on), `invite_people` (on), `edit_email_templates` (on), `edit_attendee_labels` (on), `edit_event_details` (off), `edit_landing_page` (off), `send_blasts` (off), `view_analytics` (off), `gene…
| Parameter | Type | Description |
|---|---|---|
cohost_id * | string | |
event_id * | string | |
permissions * | object |
remove_cohost
Remove a co-host, or revoke a pending invitation. Main host only. REQUIRES `confirm=True`. Their organization loses access immediately, and every other open invitation to people in that org is revoked too. Nothing they wrote is deleted: their notes stay theirs and the guests they added stay on the list. Re-adding them takes a new invitation. Returns `{ok}`.
| Parameter | Type | Description |
|---|---|---|
cohost_id * | string | |
event_id * | string | |
confirm | boolean |
list_my_cohost_invitations
Co-host invitations addressed to the signed-in user, still open. Returns `{invitations: [{id, token, event_id, event_title, starts_at, host_org_name, invited_by_name, permissions, created_at}]}`. `permissions` is exactly what accepting would grant — describe it to the user before they accept. Pass `token` to `accept_cohost_invitation` / `decline_cohost_invitation`.
accept_cohost_invitation
Accept a co-host invitation for the user's organization. REQUIRES `confirm=True`. Accepting binds the user's whole ORGANIZATION to the other host's event and copies its guest list into the org's CRM. Only the invited person can accept (403 otherwise). Get `token` from `list_my_cohost_invitations`. A 403 "for someone else" means the user is signed in with a different email than the invited one: they must confirm the invited address in the Pavoot app (browser-only). Returns `{ok, event_id}` (`already: true` if their org was already on the event). Use `event_id` with the other event tools after…
| Parameter | Type | Description |
|---|---|---|
token * | string | |
confirm | boolean |
decline_cohost_invitation
Decline a co-host invitation. REQUIRES `confirm=True` — a declined invitation cannot be accepted later; the host would have to invite again. Get `token` from `list_my_cohost_invitations`. Returns `{ok}`.
| Parameter | Type | Description |
|---|---|---|
token * | string | |
confirm | boolean |
get_event_edit_lock
Is someone else editing this event's details or landing page right now? An event's details and landing page are saved as ONE document: a save replaces the whole thing, so two people editing at once silently undo each other (a co-host fixing the venue reverts the host's title). The web editors hold a short lease ("lock") while open — `surface` is `"event_details"` (the Details page) or `"landing_page"`. The lock is ADVISORY: the API does not reject a save from someone who doesn't hold it. So the model must check it itself. Before using `set_event_details`, `set_event_settings`, `set_landing…
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
surface * | string |
take_event_edit_lock
Take (or refresh) the edit lock on the event details or landing page. Optional for the model, useful before a multi-step edit: while held, anyone opening that editor in the web app sees "<you> is editing" and gets a read-only page. The lease lasts about 90 seconds unless refreshed — call again between steps of a long edit — and release it with `release_event_edit_lock` when done. Refusal is a normal answer: `{granted: false, holder: {...}}` means someone else has it (see `get_event_edit_lock` for what to do). `{granted: true}` means it's yours. Needs the matching co-host permission (`edi…
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
surface * | string |
release_event_edit_lock
Release your own edit lock. Idempotent; never errors. Only releases a lock the caller holds. Note: if the user ALSO has that editor open in a browser, it shares the same lock and will simply take it back on its next heartbeat.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
surface * | string |
request_event_edit_lock
Ask whoever holds the edit lock to hand it over. The holder is asked in their editor and has `deadline_seconds` (60) to answer. Nothing happens on a timer: poll `get_event_edit_lock` and call `take_event_edit_lock` once `request.status == "approved"`, or once it is still `"pending"` with `request.seconds_left <= 0` (no answer in time — taking it is what claims it). Don't edit until a take returns `granted: true`. Returns `{state, request, deadline_seconds}`. `state` is: - `asked` — the question is in; poll as above. - `free` — nobody holds it; just take it. - `mine` — you alrea…
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
surface * | string |
answer_event_edit_request
Answer someone's request to take over your edit lock. `approve=True` hands the lock to the asker at once; `False` keeps it. The answer must come within 60 seconds of the request; after that it is refused (`expired`) and the asker may take the lock themselves. Returns `{state, granted}` — `state` is `approved`, `declined`, or `gone` / `expired` / `not_yours` when there was nothing to answer.
| Parameter | Type | Description |
|---|---|---|
approve * | boolean | |
event_id * | string | |
surface * | string |
get_effective_notetaker_audiences
Which guest segments the notetaker shows the caller on this event. Resolved for the caller's org: their own choice (`set_my_notetaker_audiences`) if any, else the host's event default (`set_notetaker_audiences`), else everyone. Returns `{audiences: [...]}` from `sourced`, `invited`, `yes`, `checked_in`, `highlighted`.
| Parameter | Type | Description |
|---|---|---|
event_id * | string |
notetaker_check_in
Check a guest in at the door (or undo it) — the notetaker's door mode. Same effect as `check_in_attendee`, but also works for a guest who exists only as a door check-in with no RSVP row (the planner route writes the check-in and then 404s for them). Idempotent; re-checking refreshes the time. `add_walkin_attendee` already checks its new guest in. On a paid event, checking in a guest who still owes money counts as comping them and only the main host may do it (403 for a co-host). Co-hosts need the `change_rsvp` permission either way. Returns `{checked_in: true, checked_in_at}`, or `{ok: tr…
| Parameter | Type | Description |
|---|---|---|
attendee_id * | string | |
event_id * | string | |
undo | boolean |
get_door_registration_questions
The event's signup questions, as guests see them on the landing page. Use with `save_door_registration_answers` to fill in the form for a guest in person. Returns `{questions: [{key, label, kind, required, options, …}]}`. To EDIT the questions use `get_questionnaire` / `set_questionnaire`.
| Parameter | Type | Description |
|---|---|---|
event_id * | string |
save_door_registration_answers
Record signup answers a host collected from a guest in person. For a guest who never filled the form (added by the host, or a walk-in). `answers` maps question `key` (from `get_door_registration_questions`) to the answer. Required questions are NOT enforced — save what the guest gave — but formats are (a bad email is a 400). 400 if the event has no signup questions. Answers land where the landing-page form's would. Questions mapped to a contact field write the guest's CRM contact: `email` is only FILLED if empty, never overwritten; company, title, phone, work email, LinkedIn and website…
| Parameter | Type | Description |
|---|---|---|
answers * | object | |
attendee_id * | string | |
event_id * | string |
get_event_import_run
The most recent Luma import / refresh / re-import run for this event. Use it to check on a run that is still going (e.g. one that outlived `refresh_event_from_luma`'s wait). Returns `null` if the event never had one, else `{run_id, event_id, kind, status, total, processed, imported_contacts, updated_contacts, rsvps_created, rsvps_updated, errors, error}`. `status` is `fetching` (still paging through Luma; `total` not known yet), `running`, `done` or `error`.
| Parameter | Type | Description |
|---|---|---|
event_id * | string |
preview_event_reimport
What re-importing this Luma event from scratch would delete. Reads only. Returns `{event_name, rsvp_count, blockers: [{crm_contact_id, name, reason}], columns: [{slug, label}], lost_judgement, lost_rsvp_edits, lost_cell_values, needs_hard_confirm}`. `blockers` non-empty → the re-import is refused (guests have PAID; refund them in Stripe first). `columns` are the imported columns that get dropped, by name. `lost_*` count host work that dies with the guest list: scores / owners / want-to-talk / category / chips, highlights / decline reasons / approvals, and values in the dropped columns. Whe…
| Parameter | Type | Description |
|---|---|---|
event_id * | string |
reimport_event_from_luma
Throw away this event's imported guest list and pull it again from Luma. REQUIRES `confirm=True` — it DELETES every RSVP on the event, the host's per-guest work (scores, owners, chips, highlights, approvals) and the import-created columns, then imports fresh. Use only when a normal `refresh_event_from_luma` (additive, never deletes) can't fix a bad or half-finished import. The first call (without confirm) returns the `needs_confirmation` payload with the `preview_event_reimport` result attached as `preview` — tell the user what will be lost. Refused (409) if any guest has paid. Safe ord…
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
confirm | boolean |
hubspot_get_status
Is HubSpot connected for this org, and how is it syncing? What the HubSpot card in Settings → Integrations shows. Call this first before any other HubSpot tool: if `connected` is false, every other tool will fail — connecting is done in the web app. Returns `{connected, portal_name, token_hint, auth_type, connected_at, last_imported_at, sync_mode ('manual'|'auto'), sync_interval_minutes, sync_at_hour, sync_at_minute, sync_timezone, last_sync_status ('ok'|'error'), last_sync_at, last_error, needs_reconnect}`. `needs_reconnect: true` means the stored key stopped working — the user has t…
hubspot_get_token_info
Check the connected HubSpot key's LIVE scopes. The "Check connected key's live scopes" button. Reads the scopes from HubSpot itself, so it's the definitive answer to "did my scope edit take effect?" or "why does owner routing / property creation fail?". Returns `{hub_id, token_hint, scopes: [..], missing: [{scope, unlocks}], readable}`. `missing` lists Pavoot-needed scopes the key lacks and the feature each unlocks; `readable: false` means HubSpot wouldn't describe the key at all.
hubspot_start_sync
Run "Sync now": pull from HubSpot, then push Pavoot → HubSpot. Starts a background job and returns immediately with `{job_id, status: 'running', ...}`. Poll `hubspot_get_sync_job(job_id)` for progress and the final summary. It is a full round-trip, not just an import: after pulling changed contacts/companies into the Pavoot CRM, it runs EVERY push the sync rules have set to Automatic or Manual only, writing to HubSpot: contact export (the org's Pavoot CRM contacts, not one event's), then notes, attendance, owner tasks and follow-up email logging for every event with unsynced work. Contact…
| Parameter | Type | Description |
|---|---|---|
confirm | boolean | |
full | boolean |
hubspot_get_current_sync
The org's HubSpot sync that is running right now, if any. Wherever it was started (Settings, the CRM page, the first sync after connecting, another teammate). Use it to answer "is a sync running?" or to pick up a job id to poll / stop. Returns the job (same shape as `hubspot_get_sync_job`), or `{running: false}` when nothing is in flight.
hubspot_get_sync_job
Progress and result of a HubSpot sync job. `status` walks running → done | error | cancelled. While running, `processed`/`total` drive a progress bar (`total` 0 = unknown, normal for a non-full sync) and `imported_contacts` / `updated_contacts` / `imported_companies` tick up. When done, `result` holds the summary: imported / updated counts, `matched_existing` (people already in Pavoot matched rather than duplicated, by match type), `deleted_contacts` / `flagged_deleted` (deleted in HubSpot since last sync: removed here, or kept and flagged when they have Pavoot history), `errors`, and `pus…
| Parameter | Type | Description |
|---|---|---|
job_id * | string |
hubspot_cancel_sync
Stop a running HubSpot sync (the "Stop" button). Stops the PULL half at its next progress tick (status `cancelled`); whatever was already imported stays imported. The cancel is checked once more before the push half starts, but once the pushes are running they cannot be stopped: they finish, and the job ends `done`. Always returns `{ok: true}` — even for a job that already ended — so poll `hubspot_get_sync_job` to see the final status.
| Parameter | Type | Description |
|---|---|---|
job_id * | string |
hubspot_get_event_field_map
The "Push attendees to HubSpot" mapping for one event. Which Pavoot attendee column goes to which HubSpot contact property when this event is pushed. Returns `{source_fields: [{key, label, group ('person'|'event'| 'custom'), is_match_key}], hubspot_properties: [{name, label, type}], mapping: {source_key: hubspot_property_name}, suggested, deleted_in_crm}`. `suggested: true` means nothing is saved yet and `mapping` is an automatic best guess — show it to the user to review; `hubspot_push_event_attendees` saves exactly this mapping before it pushes, as the app's push dialog does. Email is t…
| Parameter | Type | Description |
|---|---|---|
event_id * | string |
hubspot_save_event_field_map
Save the per-event HubSpot push mapping ("Save" in the push dialog). `mapping` is `{source_key: hubspot_property_name}` using `key`s from `source_fields` and `name`s from `hubspot_properties` in `hubspot_get_event_field_map`. REPLACES the whole mapping for this event: any column you leave out is no longer pushed. To change one row, read the current mapping first and send it back with your edit. An empty property name drops that row. Saving NO rows at all doesn't mean "push nothing": an empty mapping counts as unset, and the next push falls back to the org-wide push map / an automatic guess a…
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
mapping * | object |
hubspot_push_event_attendees
Push this event's attendees to HubSpot ("Push to HubSpot"). Creates or updates a HubSpot contact for EVERY attendee, writing the columns in the event's mapping. People with an email are matched by email; people without one are still pushed, as email-less contacts keyed by Pavoot's own id (`pavoot_contact_id` — Pavoot creates that contact property in the portal if it's missing). If a push stage map exists, it also writes lifecycle stage / lead status. Does what the app's push dialog does: if the event has no saved mapping yet, the suggested one (`hubspot_get_event_field_map`, which you shou…
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
confirm | boolean | |
include_deleted | boolean |
hubspot_get_owner_map
Which teammate is which HubSpot owner ("Team ↔ HubSpot owners"). Used to route follow-up tasks to the right rep in HubSpot. Returns `{members: [{user_id, name, email, hubspot_owner_id, hubspot_owner_email, source ('auto_email_match'|'manual'|null)}], owners: [{id, email, name}]}` — every org member (unmapped ones have a null owner) plus the portal's owners to pick from.
hubspot_get_column_map
The org-wide HubSpot column mapping for one direction. "Column mapping" in HubSpot settings. `direction="pull"` is Import (HubSpot property → Pavoot CRM column) and applies to every sync; `"push"` is Export (Pavoot field → HubSpot property) and is the default for every push that has no per-event mapping. Returns `{direction, pavoot_fields: [{key, label}], hubspot_properties: [{name, label, type}], entries: [{source_key, target_key, enabled, sort_order}], defaulted}`. Entry orientation follows the data flow: for pull, `source_key` is the HubSpot property and `target_key` the Pavoot colum…
| Parameter | Type | Description |
|---|---|---|
direction * | string |
hubspot_get_sync_rules
What syncs with HubSpot, and in which direction. The "What syncs, which way" grid. Returns `{rules: [{object_type, direction ('pull'|'push'), label, mode ('off'|'manual'|'auto'), cadence_min, filter_json, defaulted}]}`. Pull (HubSpot → Pavoot): contacts, companies. Push (Pavoot → HubSpot): contacts (export), notes (attendee notes), event_attendance, followup_task (owner-assigned follow-up tasks), followup_email (follow-up email logging). `auto` = also runs on the automatic schedule; `manual` = only when someone runs "Sync now"; `off` = never during a sync. The per-event "Push to HubSpot…
hubspot_get_stage_map
How HubSpot lifecycle stages / lead statuses map to Pavoot stages. "Stage / lifecycle mapping". `direction="pull"` (Import ← HubSpot) sets a Pavoot stage from the HubSpot value on sync; `"push"` (Export → HubSpot) writes the HubSpot value from the Pavoot stage on export. Returns `{direction, pavoot_stages: [{id, name, color, kind}], hubspot_values: [{label, value, group ('Lifecycle stage'|'Lead status'), property ('lifecyclestage'|'hs_lead_status')}], entries: [{hubspot_value, pavoot_stage_id}]}`. Map lifecycle values to lifecycle-kind Pavoot stages and lead-status values to lead-status…
| Parameter | Type | Description |
|---|---|---|
direction * | string |
publish_landing_page
Push the landing-page design live — the builder's "Publish" button. Everything the builder (and `set_landing_document`, `set_landing_mode`, `save_landing_page_theme`, `run_landing_designer` + save) writes is a staged working copy; this is the one call that puts it in front of guests. It snapshots ALL staged design keys at once (every variant's document, the mode, the theme) — you cannot publish one variant alone. Distinct from `set_event_published`, which decides whether the public page exists at all. Publishing a design on an unpublished page stages it as the live version for when the p…
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
confirm | boolean |
discard_landing_changes
Throw away unpublished design edits and restore the live version. The builder's "Discard changes". Overwrites the working copy of every staged design key (documents, mode, theme) with the published snapshot. The discarded edits are not recoverable. "Published snapshot" includes a BASELINE nobody published: the first staged design edit on an event freezes the design as it stood just before that edit (with `landing_published.published_at: null`). So on a page that was edited but never published, discard does NOT fail — it silently rolls every design key back to the pre-first-edit state (ofte…
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
confirm | boolean |
run_landing_designer
Ask the AI designer to build, restyle, or rearrange the landing page. The "Design with AI" panel in the page builder. `prompt` is plain English ("make it feel more formal", "move the speakers above the agenda", "build a page for a fintech dinner"). Pass the CURRENT builder `document` (`{root, content, zones}`, from `get_event_state` → `draft.landing_document`, passed through untouched) to have it edited in place; omit it to generate from scratch. Reference files attached with `upload_landing_reference` are read automatically. `design_landing_page` is the older name for this tool and now ca…
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
prompt * | string | |
document |
resume_landing_designer_run
Collect the result of a landing-designer run whose connection dropped. Use when `run_landing_designer` returned `status: "interrupted"`. The run kept going server-side; this replays its frames and waits for the end. A finished run stays collectable for a short grace period only, and only by the same user who started it. Same return shape as `run_landing_designer`. If the run was killed (server restart), replaced by a newer prompt, or is no longer known (`code: "run_gone"`) you get `status: "error"` with the reason — start a new run then.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
run_id * | string |
get_landing_designer_history
This user's conversation with the AI designer on this event. What the design panel shows on reload, oldest first. Per event AND per host — a co-host's turns are not included. Returns `{entries: [{id, prompt, reply, status, attachments: [{id?, filename, kind}], images: [{url, placeholder?}], created_at}]}`. `status` is `running` | `done` | `error` | `cancelled` (replaced by a newer prompt) | `interrupted` (the server task died; it will never finish).
| Parameter | Type | Description |
|---|---|---|
event_id * | string |
clear_landing_designer_history
Clear this user's AI-designer conversation for the event. The panel's "clear chat". Hides the turns from the panel and from `get_landing_designer_history`; the server keeps the rows (nothing is deleted), but there is no way to un-hide them from the app. Does not touch the page itself. Gated. Returns `{ok: True}`.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
confirm | boolean |
generate_landing_image
Generate one AI image for a landing-page block. The builder's "Generate with AI" button on an Image field. `subject` (1–600 chars) describes the picture. `aspect` defaults to landscape. `placeholder=True` asks for a neutral stand-in rather than a finished picture. `style_kit` is the page's style kit (the theme object the builder holds) so the image matches the page. Takes 20–60s. Returns `{url, prompt, aspect, placeholder}`. The image is NOT placed on the page — put `url` into an Image block in the document and save with `set_landing_document`. Failure comes back as `{error: "..."}` (t…
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
subject * | string | |
aspect | ||
placeholder | ||
style_kit |
list_landing_references
Files attached to show the AI designer what the host wants. The chips in the design panel. Private to the event — never shown on the page or to guests. Every run of `run_landing_designer` reads them. Max 10 per event. Returns `{references: [{id, filename, kind ("image" | "document" | "data"), error, downloadable, created_at, …}]}`.
| Parameter | Type | Description |
|---|---|---|
event_id * | string |
upload_landing_reference
Attach a local file as a design reference for the AI designer. The panel's paperclip. Use for "make it look like this" screenshots, a brand guide PDF, copy in a doc. Accepted: png, jpg, jpeg, gif, webp, pdf, docx, md, txt, csv, xlsx (pptx works in the app but not here). Max 10 MB through the MCP; max 10 references per event (400 past that — `delete_landing_reference` one first). Attaching does not change the page; it is context for the next `run_landing_designer` call. Returns the stored reference row.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
file_path * | string |
get_landing_reference_url
A short-lived signed URL to view one design reference. The bucket is private; this is how the panel renders a thumbnail. The URL expires quickly — fetch a new one rather than storing it. 404 when the reference has no stored copy. Returns `{url}`.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
ref_id * | string |
delete_landing_reference
Remove a design reference from the event. The × on a reference chip. The designer stops reading it from the next run. Gated. Returns `{ok: True}` — ALWAYS, including for an id that does not exist or belongs to another event (the endpoint answers 204 without checking whether a row was removed). To confirm, re-read `list_landing_references`.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
ref_id * | string | |
confirm | boolean |
preview_calendar_description
What a guest reads inside their calendar entry for this event. The "Calendar description" editor's preview. Omit `template` to preview what is saved (or the shipped default); pass unsaved wording to preview that. Placeholders like `{{event_link}}` are resolved server-side in the event's timezone and language against a real confirmed guest (so the personal link is real); with no confirmed guest `{{event_link}}` is the public page. Returns `{template, default, is_default, resolved, placeholders: [{name, description, value}], …}` — `resolved` is the rendered text, `placeholders` lists every…
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
template |
save_calendar_description
Save the calendar-entry description template. The text guests see inside the calendar invite. Use `{{placeholders}}` from `preview_calendar_description`, and preview first. Pass "" to go back to the shipped default. Applies to calendar entries sent from now on. Only this field is written; other event details are untouched. Returns the event state view.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
template * | string |
get_invite_approval_sources
The source picker under "Invited guests skip the queue". Only meaningful when the event requires approval: invited guests can skip the approval queue, optionally only those from certain sources. Lists every known source grouped by the label the attendee grid shows, with how many of this event's guests have it. Returns `{options: [{label, keys: [handle…], count}], selected: [handle…] | null}`. `selected: null` = every source. To choose a chip, pass ALL of its `keys` to `set_invite_auto_approval`.
| Parameter | Type | Description |
|---|---|---|
event_id * | string |
set_invite_auto_approval
Turn "Invited guests skip the queue" on/off and pick which sources. Only matters when `requires_approval` is on (`set_event_settings`): people the host invited are confirmed straight away while public sign-ups still wait for approval. Args: enabled: The toggle. Omit to leave it. sources: Source handles (the `keys` from `get_invite_approval_sources`) whose invitees skip the queue. `[]` = nobody. Omit to leave as is. all_sources: True resets the selection to every source (sends an explicit null). Don't combine with `sources…
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
all_sources | boolean | |
enabled | ||
sources |
upload_landing_font
Upload a custom font for the landing page from a local file. The page builder's "Upload font" option. Returns `{url, format}` — the URL is public and durable, and goes into the landing document's `@font-face` (via `set_landing_document`); uploading alone changes nothing on the page. .woff2, .woff, .ttf or .otf, max 5 MB (the server's `landing_fonts.MAX_FONT_BYTES`; checked here before uploading). The server checks the bytes, not the file name, so a renamed non-font is refused with a 400.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
font_path * | string |
linkedin_get_account
The caller's connected LinkedIn and how it sends. Call this first. Returns `{access, configured, sender_enabled, template_fields, account}`. `access: false` = LinkedIn outreach isn't switched on for the org. `account: null` = no LinkedIn connected: the user connects it in the web app (`get_app_page_link`), never here. `account` has `status` ('ok' | 'credentials' = LinkedIn signed Pavoot out, reconnect in the app | 'error'), `status_detail` (why, e.g. LinkedIn pushed back on volume and sending rests until a time), `paused` (the whole account), `paused_until`, the sending window (`timezone`, `…
linkedin_update_account_settings
Change how the caller's LinkedIn sends, across every campaign. Only what you pass changes. - `paused`: True stops ALL LinkedIn sending from this account (a brake: no confirmation needed when that's the only change). False resumes it. - `timezone` (IANA, e.g. 'Europe/Zurich'), `window_start` / `window_end` ('HH:MM', start before end), `window_days` (1=Mon … 7=Sun, at least one): the sending hours for connection requests. - `message_window_start` / `message_window_end` / `message_window_days`: separate hours for invitations and follow-ups (e.g. requests any time,…
| Parameter | Type | Description |
|---|---|---|
auto_send_after_accept | ||
confirm | boolean | |
message_window_days | ||
message_window_end | ||
message_window_start | ||
messages_same_hours | boolean | |
pause_before_event_hours | ||
paused | ||
share_conversations | ||
timezone | ||
window_days | ||
window_end | ||
window_start |
linkedin_list_campaigns
Every LinkedIn campaign on an event, newest first (everyone's, not just the caller's; `is_mine` says whose). Each has `id`, `status` ('active' | 'paused' | 'cancelled'), `mode` (connect_message = request, then the invitation as a message on accept; connect_ask = request, then ask the host; connect_note = request with a note; connect_only = requests only; message_connected = message existing connections only), `is_ongoing` (the invite composer's campaign: each person gets their own LinkedIn draft), `stats` {people, requests_sent, accepted, already_connected, invites_sent, replied, waiting, rea…
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
format | string |
linkedin_get_campaign
One campaign with everyone in it (`targets`). Each target: `id` (the target id other tools take), `crm_contact_id`, `name`, `linkedin_url`, `state` (queued = request not sent yet; invited = request sent; awaiting_approval = accepted, waiting for the host's Send/Skip; dm_queued = invitation queued; dm_sent; replied; connected; rsvped; skipped; failed; withdrawn; cancelled), `last_error` (why, e.g. a failure or "Held back: …"), `invited_at`, `accepted_at`, `dm_sent_at`, `replied_at`, `next_action_at`, `can_send_invite`, `followup_status`, `message_count`.
| Parameter | Type | Description |
|---|---|---|
campaign_id * | string | |
format | string |
linkedin_get_event_statuses
Where each person on the event stands with LinkedIn, keyed by crm_contact_id (latest attempt from anyone in the org): `state`, `campaign_id`, `last_error`, `is_mine`, `owner_name`, and the request / accept / invitation / reply times. People never contacted on LinkedIn are absent.
| Parameter | Type | Description |
|---|---|---|
event_id * | string |
linkedin_list_waiting_for_you
"Waiting for you": the caller's people on this event who accepted (or were already connected) and need a Send or Skip before their invitation goes. Each has `target_id`, `campaign_id`, `name`, `company`, `title`, `text` (the message that would go), `has_link` (whether it carries their RSVP link), `campaign_paused`. `chat_review` is set on someone held right before sending, because their LinkedIn chat already had messages (`kind` "chat") or they had already answered the event (`kind` "responded", with `responded` {status, label, at}): `messages` (recent, oldest first), `summary`, `recommendatio…
| Parameter | Type | Description |
|---|---|---|
event_id * | string |
linkedin_list_event_people
The event's list as LinkedIn sees it, for picking who to contact: each person's `id` (crm_contact_id), `name`, `company`, `title`, `has_linkedin`, `known_connected`, `linkedin_state` (latest outreach state, null = never contacted) and `answered` (already responded to the event).
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
format | string |
linkedin_get_person_status
One person's LinkedIn status on this event, plus the last messages when the caller may read the conversation (their own, or a teammate's who shares their conversations: `conversation_shared`): `status` {target_id, campaign_id, state, last_error, times, is_mine, owner_name, conversation_shared, can_send_now, can_cancel, held, can_send_anyway, paused_for_event} and `messages`.
| Parameter | Type | Description |
|---|---|---|
crm_contact_id * | string | |
event_id * | string |
linkedin_get_conversation
The LinkedIn campaign thread with one person: `messages`, `mine`, `owner_name`, `synced`. The account owner always can (re-synced from LinkedIn). A teammate can when the owner shares their conversations with the org (Settings -> LinkedIn, `share_conversations`): `mine: false`, read-only, and what Pavoot stored rather than a fresh sync (`synced: false`). 403 otherwise: then say whose it is and that they can turn on sharing. Older LinkedIn history imported from a data export lives elsewhere: `linkedin_get_imported_messages`.
| Parameter | Type | Description |
|---|---|---|
target_id * | string |
linkedin_get_imported_messages
LinkedIn messages with one CRM contact imported from members' LinkedIn data exports (People -> import messages), as far as the caller may read them: their own, and teammates' who ticked "share" on their import. `messages` (oldest first: direction, sender_name, body, sent_at, owner_name = whose export, mine), `hidden` (teammates with a PRIVATE thread: owner_name, message count, last_at; nothing they wrote) and `linked` (false = the contact has no LinkedIn link to match on). These are snapshots from an export, not live campaign threads: those are `linkedin_get_conversation`.
| Parameter | Type | Description |
|---|---|---|
crm_contact_id * | string |
linkedin_import_messages
Import the caller's past LinkedIn DMs from their LinkedIn data export. `file_path`: `messages.csv` or the whole export zip (LinkedIn → Settings → Data privacy → Get a copy of your data). Re-importing a newer export adds only new messages. Messages match CRM contacts by LinkedIn URL and feed invite drafting and `linkedin_get_imported_messages`. `shared`: PRIVATE by default. True lets teammates read the text; False keeps it to the caller (teammates only see "X has N private messages"). The choice applies to ALL the caller's imported messages, not just this file. Omitted = keep the curre…
| Parameter | Type | Description |
|---|---|---|
file_path * | string | |
shared |
linkedin_get_message_import_status
The caller's imported LinkedIn DMs: messages, conversations, matched_contacts, shared (null = nothing imported), last_import_at, last_message_at. Own imports only.
linkedin_set_message_visibility
Share (True) or unshare (False) ALL the caller's imported LinkedIn messages with their org. Shared = teammates can read the text and their invite drafts use it. Returns the new status.
| Parameter | Type | Description |
|---|---|---|
shared * | boolean |
linkedin_delete_imported_messages
Delete EVERY LinkedIn message the caller imported. Irreversible; getting them back means uploading the export again. Only ever the caller's own. Connections are separate (`delete_network_connections`).
| Parameter | Type | Description |
|---|---|---|
confirm | boolean |
linkedin_send_invites
Invite people to the event on LinkedIn: the composer's "Send via LinkedIn". This is how you start a campaign or add people to one. Each person gets their own LinkedIn draft for the event (written from the LinkedIn invite templates; generate missing ones with `generate_invite_drafts(channel='linkedin')` first). Not connected yet: a connection request goes first, the draft follows on accept. `mode` None joins the event's ongoing campaign (follows the account's `auto_send_after_accept`). Or pick one: connect_message, connect_ask, connect_note (needs `note_template`; `follow_up` = send the invit…
| Parameter | Type | Description |
|---|---|---|
crm_contact_ids * | array | |
event_id * | string | |
confirm | boolean | |
follow_up | boolean | |
mode | ||
note_template | ||
send_anyway_ids |
linkedin_start_campaign
Start a campaign from the LinkedIn outreach drawer ("Start a campaign"), with one shared message instead of per-person drafts. `dm_template`: the invitation message for anyone without their own LinkedIn draft; may use `{{fields}}` (see `linkedin_get_account`) and should include the RSVP link field, or they get no way to sign up. `note_template`: note on the connection request (short; free accounts get few notes). `on_accept` / `on_already_connected`: auto_dm (send the invitation), ask (wait for Send/Skip), nothing / skip. `add_to_event`: also add people not yet on the event's list. Without `…
| Parameter | Type | Description |
|---|---|---|
crm_contact_ids * | array | |
event_id * | string | |
add_to_event | boolean | |
confirm | boolean | |
dm_template | string | |
note_template | ||
on_accept | string | |
on_already_connected | string |
linkedin_pause_campaign
Pause a campaign: nothing more goes out from it until resumed.
| Parameter | Type | Description |
|---|---|---|
campaign_id * | string |
linkedin_suggest_invites
SUGGEST a LinkedIn campaign of invitations on a TEAMMATE's LinkedIn (the caller must be an org admin). Each person gets their own LinkedIn draft for the event, as with `linkedin_send_invites`. It's created PAUSED: nothing goes out, and nobody reads as invited, until the teammate approves it (`linkedin_resume_campaign` from their account, or "Approve and start" in their LinkedIn panel). They're emailed. "Already connected" is judged by the TEAMMATE's connections. `teammate`: their name or user id (from the org's connected LinkedIn accounts). `preview_only=True` returns who'd be reached withou…
| Parameter | Type | Description |
|---|---|---|
crm_contact_ids * | array | |
event_id * | string | |
teammate * | string | |
preview_only | boolean |
linkedin_withdraw_suggested_campaign
Take back a campaign you suggested on a teammate's LinkedIn that's still waiting for them. Nothing had gone out. (The owner discards one with `linkedin_cancel_campaign`.)
| Parameter | Type | Description |
|---|---|---|
campaign_id * | string |
linkedin_resume_campaign
Resume a paused campaign: everyone waiting starts going out again. On a campaign a teammate SUGGESTED on your LinkedIn (`awaiting_owner`), resuming is approving it.
| Parameter | Type | Description |
|---|---|---|
campaign_id * | string | |
confirm | boolean |
linkedin_cancel_campaign
Cancel a campaign for good: everyone not yet contacted is dropped. Requests already sent stay sent on LinkedIn. Can't be undone.
| Parameter | Type | Description |
|---|---|---|
campaign_id * | string | |
confirm | boolean |
linkedin_edit_campaign
Change a campaign's connection note or fallback invitation message for everyone not yet sent. `note_template=""` turns the note off. People with their own LinkedIn draft keep getting that.
| Parameter | Type | Description |
|---|---|---|
campaign_id * | string | |
confirm | boolean | |
dm_template | ||
note_template |
linkedin_stop_people
Remove people from LinkedIn outreach ("Stop" per person): nothing more goes to them from their campaign. A request already sent stays sent; the invitation won't follow. Sending to them again later still works. Takes target ids (`linkedin_get_campaign`). Returns `{stopped: [...], not_stopped: [{target_id, reason}]}`.
| Parameter | Type | Description |
|---|---|---|
target_ids * | array |
linkedin_remove_people
Remove people from the caller's LinkedIn outreach for this event, by contact (`crm_contact_id`, as on the event's list) rather than target id: whatever is still to come for them stops (request not sent yet, invitation waiting). A request already sent stays sent on LinkedIn. Returns `{removed: [crm_contact_id, ...], not_removed: [{crm_contact_id, state, reason}]}`.
| Parameter | Type | Description |
|---|---|---|
crm_contact_ids * | array | |
event_id * | string |
linkedin_approve_people
"Send" for people waiting on the host (accepted, or replied before getting the invitation): their invitation joins the queue and goes out, paced. Returns the campaign with `approved` (how many).
| Parameter | Type | Description |
|---|---|---|
campaign_id * | string | |
target_ids * | array | |
confirm | boolean |
linkedin_skip_people
"Skip" for people waiting on the host after accepting: no invitation goes. They stay connected, so sending later still works.
| Parameter | Type | Description |
|---|---|---|
campaign_id * | string | |
target_ids * | array |
linkedin_preview_invitations
Exactly what each person would receive if their invitation went out now, name and personal RSVP link filled in: `previews` [{target_id, name, state, source (draft | template | already_sent | no_message), text, has_link, rsvp_link}].
| Parameter | Type | Description |
|---|---|---|
campaign_id * | string | |
target_ids * | array |
linkedin_set_invitation_message
Rewrite ONE person's LinkedIn invitation (saved as their LinkedIn draft for the event; plain text, goes out exactly as written). It is what they'll get, possibly automatically on accept.
| Parameter | Type | Description |
|---|---|---|
target_id * | string | |
text * | string | |
confirm | boolean |
linkedin_send_now
Skip the rest of the wait for one person's queued invitation: it goes out on the sender's next turn (still inside sending hours, still checked: signed up since, already messaged…).
| Parameter | Type | Description |
|---|---|---|
target_id * | string | |
confirm | boolean |
linkedin_retry_person
Try a failed person again, from their CURRENT LinkedIn URL (fix it first if that was the problem). If LinkedIn refused a new request to them, the API says so; `anyway=True` tries regardless, only after the user saw that warning.
| Parameter | Type | Description |
|---|---|---|
target_id * | string | |
anyway | boolean | |
confirm | boolean |
linkedin_preview_followups
Each invited person's follow-up with fields filled in: `people` [{target_id, name, text, has_link, eligible, reason, replied, selected, last_followup_at}]. `selected` is the sensible default (eligible, didn't reply, no follow-up yet).
| Parameter | Type | Description |
|---|---|---|
campaign_id * | string | |
template * | string | |
target_ids |
linkedin_send_followups
Queue follow-ups exactly as reviewed: `items` = [{target_id, text}] (use the texts from `linkedin_preview_followups`). Sent paced from the caller's LinkedIn; anyone who signs up or replies first is skipped. Returns `{queued, skipped, campaign}`. On a TEAMMATE's campaign (the caller must be an org admin) nothing is sent: the follow-ups are SUGGESTED to the campaign's owner, who gets an email and approves or discards them (`suggested` in the result). Preview a teammate's campaign the same way first. `hold=True` on the caller's OWN campaign saves them paused instead of sending: nothing goes out…
| Parameter | Type | Description |
|---|---|---|
campaign_id * | string | |
items * | array | |
confirm | boolean | |
hold | boolean |
linkedin_cancel_followups
Stop every follow-up in this campaign that hasn't gone out yet.
| Parameter | Type | Description |
|---|---|---|
campaign_id * | string |
linkedin_list_suggested_followups
Follow-ups an org admin suggested on this campaign, waiting for its owner: [{id, name, text, suggested_by_name, can_approve, reason}]. `can_approve` is false for anyone who replied or signed up since.
| Parameter | Type | Description |
|---|---|---|
campaign_id * | string | |
format | string |
linkedin_approve_followups
The campaign's OWNER approves suggested follow-ups: `items` = [{id, text?}] (ids from `linkedin_list_suggested_followups`; `text` only to change the message). They go out from the owner's LinkedIn, paced; anyone who replied or signed up since is skipped. Returns `{approved, skipped, campaign}`.
| Parameter | Type | Description |
|---|---|---|
campaign_id * | string | |
items * | array | |
confirm | boolean |
linkedin_discard_suggested_followups
Discard suggested follow-ups (the owner: anyone's; an org admin: withdraw their own). No `ids` = all of them. Nothing had been sent.
| Parameter | Type | Description |
|---|---|---|
campaign_id * | string | |
ids |
linkedin_get_event_pause
When the caller's LinkedIn stops sending for this event (each teammate has their own): `pause_at`, `paused_now`, and where it comes from (the account default or this event).
| Parameter | Type | Description |
|---|---|---|
event_id * | string |
linkedin_set_event_pause
Set when LinkedIn sending stops before this event. `mode`: 'default' (the account's default), 'hours' (pass `hours`), 'never'. A shorter pause (or none) lets messages go out closer to the event, and anything held by the pause may go at once, hence the confirmation.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
mode * | string | |
confirm | boolean | |
hours |
get_org_question_defaults
The org's remembered registration-question mappings (any member). When someone maps a Luma/Partiful registration question during an import ("What's your company?" → the contact's Company field), Pavoot remembers it and pre-fills the next import. This is that memory — Organization → Imports → Saved question mappings. Returns `{defaults: [{source, question_key, question_label, target_kind, target_field, target_slug, value_type}], field_options: [{value, label}]}`. `field_options` lists the contact fields a question can be routed into.
get_org_crm_company_precedence
Which side wins by default when the CRM and Pavoot disagree on a company. Any member. Returns `{precedence}`: `crm` (the connected CRM's value, the default) or `enrichment` (Pavoot's). Per-company picks made with `set_crm_company_field_source` override this.
get_org_import_columns
How imports treat the source's columns (any member). Returns `{external, csv}`, each `merge` (fold into the contact's own fields) or `duplicate` (also keep a mirror column beside them). `external` covers Luma / Partiful API imports and the browser extension; `csv` covers the CSV import dialog.
get_org_language
The workspace default language for guest-facing text (any member). Returns `{language, options: [{code, label}]}`. Events that set their own language override it.
set_my_booking_link
Set (or clear with `""`) your booking link — Calendly, Cal.com, etc. Settings → Profile. The notetaker shows it as a QR code next to "Meeting booked", and emails sent as you can use `{{booking_link}}`. Must be an http(s) URL, ≤ 500 chars. Returns `{booking_url}`.
| Parameter | Type | Description |
|---|---|---|
booking_url * | string |
set_my_linkedin
Set (or clear with `""`) your own LinkedIn profile URL. Settings → Profile. Shown wherever you appear as a host, including public event pages. Must be an http(s) URL, ≤ 500 chars. Returns `{linkedin_url}`.
| Parameter | Type | Description |
|---|---|---|
linkedin_url * | string |
set_sender_send_as
Send from a shared address (e.g. events@company.com) via a connected Outlook. Settings → Email sending → Send as. Outlook only: `sender_id` is the connected Outlook account's id from `list_senders`. The API first SENDS ONE REAL VERIFICATION EMAIL to that account's own inbox to prove Exchange honours the address; nothing is stored if that fails. On success, with `make_default` (default true) the shared address becomes your default sender only if your default is currently empty or is this same Outlook account — a default on another sender (Gmail, the platform) is left alone — and it re…
| Parameter | Type | Description |
|---|---|---|
send_as_email * | string | |
sender_id * | string | |
confirm | boolean | |
make_default | boolean |
clear_sender_send_as
Stop sending from the shared address on a connected account. Your default, per-spot choices and the org's registration nomination that pointed at the shared address move back to the account's own address. `sender_id` is the connected account's id from `list_senders` (a shared-address id `<id>#sendas` is reduced to that account). REQUIRES `confirm=True`. Returns the senders list (same as `list_senders`).
| Parameter | Type | Description |
|---|---|---|
sender_id * | string | |
confirm | boolean |
set_my_email_sending
Switch real email sending on (or off) for your own account. Until a user turns it on, their sends are mocked — nothing reaches a real inbox. This is the "activate sending" step in the web app. It is not the only condition: sends still fail with `provider_not_configured` until you have picked an email provider in Settings → Email sending (`get_app_page_link('mailbox')`), and a platform-wide kill switch can still mock everything regardless. REQUIRES `confirm=True`. Returns `{email_sending_enabled}`.
| Parameter | Type | Description |
|---|---|---|
enabled * | boolean | |
confirm | boolean |
list_crm_views
Your saved CRM views (never a colleague's). Returns `{views: [{id, name, config, is_default, updated_at}]}`. `config.params` is the CRM page's URL query as `{key: [values]}` (e.g. `search`, `stage`, `tag`, `source`, `event`, `custom_q`, `sort`, `dir`). `is_default` is applied when you open the CRM.
create_crm_view
Save a CRM arrangement (filters, sort) under a name. `params` is the CRM page's URL query as `{key: [values]}` — the same shape `list_crm_views` returns under `config.params`, e.g. `{"stage": ["lead"], "sort": ["last_seen"], "dir": ["desc"]}`. Omit for "no filters". `name` 1–60 chars, unique per user (409 otherwise). `is_default=True` makes it open automatically and unsets your other default. Returns `{view}`.
| Parameter | Type | Description |
|---|---|---|
name * | string | |
is_default | boolean | |
params |
update_crm_view
Rename a saved view, replace its filters, or make it (not) the default. Only what you pass changes. `params` REPLACES the whole saved query (same shape as in `create_crm_view`). Returns `{view}`.
| Parameter | Type | Description |
|---|---|---|
view_id * | string | |
is_default | ||
name | ||
params |
delete_crm_view
Delete one of your saved CRM views. Contacts are untouched. REQUIRES `confirm=True`. Returns `{ok}`.
| Parameter | Type | Description |
|---|---|---|
view_id * | string | |
confirm | boolean |
lookup_crm_contact
Is this person already in your CRM? Look up by LinkedIn URL or email. What the Add-attendee dialog does when a URL is pasted. Uses the same matching as the importers, so differently-shaped LinkedIn URLs for the same person still match. Your own org only. Returns `{found, id, name, email, company, title, linkedin_url, avatar_url, matched_on}`; `{found: false}` otherwise. (`work_email` is stripped by the MCP's response sanitizer; a work-email match still reports `matched_on: "work_email"`.)
| Parameter | Type | Description |
|---|---|---|
email | ||
linkedin_url |
list_crm_custom_column_values
Distinct values in one CRM custom column, most common first, with counts. The column-header filter picker. Counts are whole-column totals, not narrowed by other filters — good for "how many contacts are in SF?". `limit` 1–1000. Returns `{slug, values: [{value, count}], blank_count, blank_token, has_more}`; pass `blank_token` as a `custom_q` value to filter for empties. 404 for an unknown slug.
| Parameter | Type | Description |
|---|---|---|
slug * | string | |
limit | integer |
set_crm_company_field_source
For one company field, pick whether the CRM's or Pavoot's value is shown. The company panel's per-field pick. Overrides the org default (`get_org_crm_company_precedence`) for that field, survives future CRM syncs, and replaces any manual edit of that field. `company_id` comes from `list_crm_companies`; name-only groups are rejected (400). Returns the updated company.
| Parameter | Type | Description |
|---|---|---|
company_id * | string | |
field * | string | |
source * | string |
list_crm_providers
Which native CRMs Pavoot offers and which one the org has connected. Returns `{providers: [{key, label, connected}], connected, health}`. `health` (when connected) carries `status`, `last_sync_at`, `error`, `needs_reconnect` — the CRM page's "sync is broken" notice.
list_crm_chat_files
Files attached to an Ideate (CRM chat) conversation. Chats are shared across the org. Returns `{files: [{id, direction, kind, filename, byte_size, summary, status, error, downloadable, created_at}]}`.
| Parameter | Type | Description |
|---|---|---|
chat_id * | string |
upload_crm_chat_file
Attach a local file to an Ideate conversation so the agent can read it. Images (png/jpg/jpeg/gif/webp), spreadsheets (csv/xlsx/xlsm) and documents (pdf/docx/txt/md); anything else (HEIC photos, audio, …) is refused before upload. Text is extracted inline, so the file is ready to ask about as soon as this returns. Max 25 files per chat; for durable material use the org knowledge base instead. Size: this MCP refuses files over 10 MB before sending (the API itself would take up to 25 MB — upload bigger files in the web app). Returns the file row. CHECK ITS `status`: an upload the API store…
| Parameter | Type | Description |
|---|---|---|
chat_id * | string | |
file_path * | string |
download_crm_chat_file
Get a time-limited (1 hour) download URL for a chat file's original. Returns `{url}`. 404 when only the extracted text survived (no stored copy) — check `downloadable` in `list_crm_chat_files`.
| Parameter | Type | Description |
|---|---|---|
chat_id * | string | |
file_id * | string |
delete_crm_chat_file
Remove a file from an Ideate conversation — for every teammate. The agent can no longer read it in that chat. REQUIRES `confirm=True`. Returns `{ok}`.
| Parameter | Type | Description |
|---|---|---|
chat_id * | string | |
file_id * | string | |
confirm | boolean |
get_app_page_link
Where in the Pavoot web app to do something the MCP can't. Use this whenever a user asks for one of the browser-only areas listed at the end of the server instructions (connecting HubSpot / Salesforce / Luma, CRM mapping and sync settings, connecting a mailbox, pairing the browser extension, connecting LinkedIn, org settings, knowledge documents, export formats, the do-not-contact list, members, API keys). Those routes refuse API-key auth on purpose, so don't try a workaround — hand the user this link and say what they'll find there. Returns `{page, path, url, what}`. `url` is absolute onl…
| Parameter | Type | Description |
|---|---|---|
page * | string |
salesforce_get_status
The org's Salesforce connection as shown on the Salesforce card in Settings → Integrations. Call this FIRST before any other `salesforce_*` tool. Returns: - `connected`: false → nothing else works; an org admin has to connect Salesforce in the web app (not available here). - `needs_reconnect` + `last_error`: the stored sign-in stopped working (revoked in Salesforce, password reset…). Same fix: an admin reconnects in the web app. - `has_client_credentials`, `client_id_hint`, `sandbox`, `callback_url`: step 1 of the connect flow (the customer's app). - `new_person_…
salesforce_get_health
Who Pavoot is signed in to Salesforce as, and how much of the org's daily Salesforce API allowance is left (the "Signed in as … API calls left today: X of Y" line on the Salesforce card). Makes live calls to Salesforce, so it fails with an error when the connection is broken; that error is itself the useful diagnosis. Returns `{username, organization_id, api_requests_max, api_requests_remaining}`.
salesforce_start_sync
Run a Salesforce sync now (the "Sync now" button). Starts a background job and returns immediately; poll `salesforce_get_sync_job`. What it does, in order: 1. Pulls Contacts, Leads and Accounts from Salesforce into the Pavoot CRM (only changes since the last sync, unless `full`). People deleted in Salesforce are removed from Pavoot if they only came from Salesforce, or kept and flagged if they have Pavoot history. 2. Then runs every push whose sync rule is `auto` OR `manual` (contacts export, notes, follow-up tasks, email logs, attendance Campaigns) across all eve…
| Parameter | Type | Description |
|---|---|---|
confirm | boolean | |
full | boolean |
salesforce_get_current_sync
The org's Salesforce import that is running right now, wherever it was started (Settings, the CRM page, the first sync after connecting). Returns the same job shape as `salesforce_get_sync_job`, or `{running: false}` when none is running (same as HubSpot's).
salesforce_get_sync_job
Progress, or the final summary, of a Salesforce import job. Poll every few seconds while `status` is "running". `total` 0 means the size couldn't be determined; `processed` / `total` is the progress. When done, `result` holds `{imported_contacts, updated_contacts, imported_companies, matched_existing, deleted_contacts, flagged_deleted, errors, push}`; `push` is the outcome of the pushes that ran after the pull (`ran`, `errors`, `note`).
| Parameter | Type | Description |
|---|---|---|
job_id * | string |
salesforce_cancel_sync
Ask a running Salesforce sync to stop. The PULL stops at its next progress tick (status "cancelled"); whatever was imported stays. Once the push half has started it can't be stopped — it finishes and the job ends "done". Poll `salesforce_get_sync_job` for the final status. Returns `{ok: true}` (also for a job that already finished).
| Parameter | Type | Description |
|---|---|---|
job_id * | string |
salesforce_get_event_field_map
The field mapping for pushing one event's attendees to Salesforce (the "Push to Salesforce" dialog on the event's attendees page). Returns: - `source_fields`: Pavoot fields available for this event `[{key, label, group: person|event|custom, is_match_key}]`. - `hubspot_properties`: despite the name, the SALESFORCE fields you can write to `[{name, label, type}]`. - `mapping`: `{pavoot source_key: salesforce field name}`. - `suggested`: true when nothing is saved for this event yet and `mapping` is an automatic guess — review it with the user; `salesforce_push_event_att…
| Parameter | Type | Description |
|---|---|---|
event_id * | string |
salesforce_save_event_field_map
Save the attendee field mapping for one event's Salesforce push. REPLACES the event's whole mapping: send every pair you want to keep (start from `salesforce_get_event_field_map`). Pairs with a blank target are dropped. Saving NO pairs doesn't mean "push nothing": an empty mapping counts as unset, and the next push falls back to the org push map / an automatic guess. Keys are Pavoot `source_fields[].key`, values Salesforce field names from `hubspot_properties[].name`. Only affects this event; does not push anything (use `salesforce_push_event_attendees`). Returns the field map in the same sh…
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
mapping * | object |
salesforce_push_event_attendees
Push an event's attendees to Salesforce (the "Push to Salesforce" button). New people are created as Leads or Contacts (an org-admin setting in the web app); people already in Salesforce with the same email are updated with the mapped fields. Does what the app's push dialog does: if the event has no saved mapping yet, the suggested one (`salesforce_get_event_field_map` — review it with the user first) is saved, then pushed, so what was reviewed is what's sent. Runs regardless of the contacts-export sync rule. Args: include_deleted: Also push attendees who were deleted in Salesforce.…
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
confirm | boolean | |
include_deleted | boolean |
salesforce_get_owner_map
Which Salesforce user each Pavoot teammate is (Settings → Salesforce → Advanced → owners). Used to assign follow-up tasks and owners on pushed records. Returns `{members: [{user_id, name, email, hubspot_owner_id, hubspot_owner_email, source}], owners: [{id, email, name}]}`. `hubspot_owner_*` hold the SALESFORCE user id / email; `source` is "auto_email_match", "manual" or null (unmapped). `owners` lists the Salesforce users to choose from.
salesforce_get_column_map
The org-wide field mapping between Salesforce and Pavoot CRM columns (Settings → Salesforce → Advanced → field mapping). Args: direction: "pull" (Salesforce field → Pavoot column, used by the import) or "push" (Pavoot field → Salesforce field, the default for attendee pushes without a per-event map). Returns `{direction, pavoot_fields: [{key, label}], hubspot_properties: [{name, label, type}] (the SALESFORCE fields), entries: [{source_key, target_key, enabled, sort_order}], defaulted}`. For pull, `source_key` is the Salesforce field and `target_key…
| Parameter | Type | Description |
|---|---|---|
direction * | string |
salesforce_list_pavoot_columns
The org's custom Pavoot CRM columns that can be mapped to Salesforce fields. Returns `[{id, slug, label, value_type}]`; in a column map they appear as `custom:<slug>`.
salesforce_get_sync_rules
What syncs with Salesforce, which way, and how (Settings → Salesforce → "What syncs, which way"). Returns `{rules: [{object_type, direction, label, mode, cadence_min, filter_json, defaulted}]}`. Rules: pull `contacts`, `companies`, `leads`; push `contacts`, `notes`, `event_attendance`, `followup_task`, `followup_email`. `mode`: `off`, `manual` (runs on "Sync now") or `auto` (also on the background schedule). The per-event "Push to Salesforce" ignores these rules. `defaulted: true` = nothing saved, built-in default.
salesforce_get_stage_map
How Salesforce Lead Status values map to Pavoot lead statuses ("Map Salesforce Lead Status values to your lead statuses"). Args: direction: "pull" (Salesforce value → Pavoot status, applied on import) or "push" (Pavoot status → Salesforce value, applied when pushing people). Returns `{direction, pavoot_stages: [{id, name, color, kind}], hubspot_values: [{label, value, property: "Status", group}] (the active SALESFORCE Lead Status values, read live from Salesforce), entries: [{hubspot_value, pavoot_stage_id}]}`.
| Parameter | Type | Description |
|---|---|---|
direction * | string |
list_sourcing_candidates
The Sourcing tab's review table, compact and paged, WITH the requirement columns the host sees (one `checks` entry per criterion: label, status met/unmet/unknown, short evidence, proof url). USE THIS (not `get_proposed_attendees`) to review candidates against a brief: it is the same view the sourcing agent reasons over, trimmed to what matters. `part`: `review` (awaiting approve/skip), `attendees` (already on the guest list, with category, RSVP status, host score, custom columns) or `all`. Page with `offset`/`limit` (max 200) while `has_more` is true. Each review row's `id` is what `edit_sou…
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
format | string | |
limit | integer | |
offset | integer | |
part | string |
edit_sourcing_candidates
Write your review onto review-table candidates, like the agent does. One entry per person, only what changes: {"id": <row id from list_sourcing_candidates>, "score": 0-100, "reason": "one line", "title"/"company"/"company_domain"/"company_description": "...", "checks": [{"requirement": "No SOC 2 / trust center", "status": "met" | "unmet" | "unknown", "evidence": "what you found", "url": "proof link"}]} `checks` merge by requirement label; a NEW label adds a column. A check the host set by hand is never overwritten. Unknown ids are reported, not applied…
| Parameter | Type | Description |
|---|---|---|
edits * | array | |
event_id * | string |
change_sourcing_columns
Remove, rename or merge requirement columns on every candidate. Ops run in order: {"op": "remove", "label": ...}, {"op": "rename", "label": ..., "into": ...}, {"op": "merge", "labels": [...], "into": ...} (most decisive status wins, a host-set check always wins). To ADD a column, use `edit_sourcing_candidates` with a check of the new label.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
ops * | array |
propose_sourcing_candidates
Add people you found to the review table (the host approves them). Each: {"name", "linkedin_url" (required, real profile), "title", "company", "company_domain", "city", "score" 0-100, "reason", "company_description", "industry", "checks": [{"requirement", "status", "evidence", "url"}]}. Never invent anyone; 1-50 per call. To have Pavoot's agent search for them instead, use `source_attendees(scope="full")`.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
people * | array |
screen_companies
Check up to 40 company domains at once: homepage title/description (what it does, who it sells to) and whether it has a public trust center / security / compliance page (trust.<domain>, /trust, /security, its own links, known trust-portal hosts). Checked, not guessed: use it for "no trust center / SOC 2 badge" criteria.
| Parameter | Type | Description |
|---|---|---|
domains * | array | |
event_id * | string |