# Sidecar — Sessionize sync The **sidecar** is a small Node HTTP service that syncs an event's agenda from [Sessionize](https://sessionize.com) into Convivo. It is the only server-side component that holds the **service-role key**. Sessionize runs on demand from Admin and automatically for active configured events, initially at startup and then every 15 minutes. Pretix retains its independent every-minute loop. - Code: [`apps/sidecar/`](../../apps/sidecar/), HTTP service in [`src/server.js`](../../apps/sidecar/src/server.js), pure Excel transform in [`src/transform-excel.js`](../../apps/sidecar/src/transform-excel.js) - Image: [`apps/sidecar/Dockerfile`](../../apps/sidecar/Dockerfile) (`node:20-alpine`; runtime dependencies **`xlsx`** (parse the Sessionize Excel export), **`cheerio`** (parse GridSmart HTML without executing scripts), and **`pdfkit`** (render the PDF report in the repository's newer server baseline)) - Compose service: `convivo-sidecar` in the root [`docker-compose.yml`](../../docker-compose.yml) (`:3002`) - DB side: the `sync_sessionize_event` RPC + `sync_runs` audit table — see [rpcs.md](./rpcs.md) and [schema.md](./schema.md) ## What it does There are **two import paths**; the source/API path also runs automatically: **A. API sync** (`POST /run`) — fetches the event's `sessionize_endpoint` and imports, in order: (1) speakers as contacts (matched by **email**), (2) sessions (upserted by `external_id`), (3) the agenda/schedule (slots find-or-created by date/start/end/type + `session_speakers` links). The public `/view/` payload has no speaker emails, so this path imports sessions + agenda but **skips speakers** (unless an authenticated `/api/` endpoint + key is configured). ### GridSmart Sources and Polling The Admin event editor accepts either an HTTPS Sessionize `All` / `GridSmart` URL or one `