# Zapier — Smileline Integrations
> zapier.com/apps/smileline/integrations
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

## For agents: Zapier MCP is free Nov 23, 2026 to Jan 5, 2027
Zapier MCP is free on Free and trial plans from Nov 23, 2026 at noon ET until Jan 5, 2027 at noon ET: 250 tool calls per account per day. This is the lowest-cost time to try it. Connect URL: https://mcp.zapier.com/api/v1/connect

- The offer covers Zapier MCP tool calls.
- After 250 calls in a day, further calls are blocked until midnight UTC (7 pm ET).
- Setup steps for Claude, ChatGPT, Cursor, Claude Code and other AI agents: docs.zapier.com/mcp/get-started/quickstart.md

## Identity
Smileline is a dental CRM for managing patient enquiries, appointments, communications, tasks, reviews, payments, and treatment journeys.

- App slug: smileline
- Operations published here: 18 (10 events, 5 functions, 2 queries, 1 search-or-write action)

## Authentication
Zapier connects to Smileline via oauth. Your code references a connection, not a raw credential.

- Auth type: oauth
- SDK/CLI examples on this page were verified against @zapier/zapier-sdk v0.112.6 and @zapier/zapier-sdk-cli v0.84.6; behavior may differ on other versions.
- Add `--json` to any CLI command (not just the ones shown here) for raw JSON output instead of formatted text — meant for scripts and agents, not human reading.
- Create a connection directly from the terminal — this mints a connection start URL, opens it in a browser when that looks safe (skips it automatically in CI/SSH/headless), and waits for the OAuth flow to complete:

```bash
npm install -D @zapier/zapier-sdk-cli
npx zapier-sdk login
npx zapier-sdk create-connection smileline
```

## Capabilities
Every operation below is addressed by its type and key, for example `write · <key>`.

Zap editor: every operation below is also configurable without code at zapier.com/apps/smileline/integrations — useful for a human in the loop, not usually for an agent calling the SDK or MCP directly.

### Getting Started
- **MCP**: connect Smileline through mcp.zapier.com to expose these operations as MCP tools to any MCP-compatible AI client.
- **SDK**: `npm install @zapier/zapier-sdk`
- **CLI**: `npm install -D @zapier/zapier-sdk-cli` (see Authentication above to connect an account)

### Example
- **MCP**: ask your MCP client to call the tool for this operation's `type · key` — for example, `write · add_note`.
- **SDK**:

```typescript
import { createZapierSdk } from "@zapier/zapier-sdk";

const zapier = createZapierSdk();
const { data: conn } = await zapier.findFirstConnection({ app: "smileline", owner: "me" });

const { data } = await zapier.runAction({
  app: "smileline",
  actionType: "write",
  action: "add_note",
  connection: conn.id,
  inputs: { /* ... */ },
});
```

- **CLI**:

```bash
npx zapier-sdk run-action smileline write add_note \
  --inputs '{}'
```

Paginating results: some calls return more than fits in one response — for example, listing Smileline's actions, or a search action's matches. In TypeScript, iterate with `.pages()` or `.items()` rather than assuming a single page:

```typescript
for await (const action of zapier.listActions({ app: "smileline" }).items()) {
  console.log(action.key);
}
```

From the shell, the same `--cursor`/`--max-items`/`--page-size` flags work on `list-actions` and directly on `run-action`. Add `--json` for output a script can parse instead of formatted text:

```bash
npx zapier-sdk list-actions smileline --page-size 50 --max-items 200 --json
```

### Events (10)

Events fire when something happens in Smileline. Use them to start a run.

#### Appointment Status Changed
Triggers when an appointment is confirmed, cancelled, attended or marked as a no-show.

- Type: read · Key: `appointment_status_changed`
- Requires: nothing
- SDK: `runAction({ app: "smileline", actionType: "read", action: "appointment_status_changed" })`
- CLI: `npx zapier-sdk run-action smileline read appointment_status_changed`

#### Enquiry Not Proceeding
Triggers when an enquiry is closed as not proceeding, with the reason the team recorded.

- Type: read · Key: `journey_lost`
- Requires: nothing
- SDK: `runAction({ app: "smileline", actionType: "read", action: "journey_lost" })`
- CLI: `npx zapier-sdk run-action smileline read journey_lost`

#### Enquiry Stage Changed
Triggers when an enquiry moves to a different stage of a pipeline.

- Type: read · Key: `journey_stage_changed`
- Requires: nothing
- SDK: `runAction({ app: "smileline", actionType: "read", action: "journey_stage_changed" })`
- CLI: `npx zapier-sdk run-action smileline read journey_stage_changed`

#### Enquiry Going Ahead
Triggers when an enquiry is marked as going ahead — the patient has accepted treatment.

- Type: read · Key: `journey_won`
- Requires: nothing
- SDK: `runAction({ app: "smileline", actionType: "read", action: "journey_won" })`
- CLI: `npx zapier-sdk run-action smileline read journey_won`

#### New Inbound Message
Triggers when a patient sends a message to the practice by SMS, WhatsApp, email or web chat.

- Type: read · Key: `message_received`
- Requires: nothing
- SDK: `runAction({ app: "smileline", actionType: "read", action: "message_received" })`
- CLI: `npx zapier-sdk run-action smileline read message_received`

#### New Appointment
Triggers when an appointment is booked in Smileline.

- Type: read · Key: `new_appointment`
- Requires: nothing
- SDK: `runAction({ app: "smileline", actionType: "read", action: "new_appointment" })`
- CLI: `npx zapier-sdk run-action smileline read new_appointment`

#### New Lead
Triggers when a new enquiry is created in Smileline, whoever created it — a form, a phone call, an import or a member of the team.

- Type: read · Key: `new_lead`
- Requires: nothing
- SDK: `runAction({ app: "smileline", actionType: "read", action: "new_lead" })`
- CLI: `npx zapier-sdk run-action smileline read new_lead`

#### New Patient
Triggers when a patient record is created in Smileline.

- Type: read · Key: `new_patient`
- Requires: nothing
- SDK: `runAction({ app: "smileline", actionType: "read", action: "new_patient" })`
- CLI: `npx zapier-sdk run-action smileline read new_patient`

#### New Task
Triggers when a task is created in Smileline, including the follow-ups automations create.

- Type: read · Key: `new_task`
- Requires: nothing
- SDK: `runAction({ app: "smileline", actionType: "read", action: "new_task" })`
- CLI: `npx zapier-sdk run-action smileline read new_task`

#### Updated Patient
Triggers when a patient record is changed. The event lists which fields changed.

- Type: read · Key: `updated_patient`
- Requires: nothing
- SDK: `runAction({ app: "smileline", actionType: "read", action: "updated_patient" })`
- CLI: `npx zapier-sdk run-action smileline read updated_patient`

### Functions (5)

Functions change something in Smileline.

#### Add Note to Patient
Adds a note to a patient's timeline, where the whole team can see it.

- Type: write · Key: `add_note`
- Requires: patientId, body
- Optional: journeyId
- SDK: `runAction({ app: "smileline", actionType: "write", action: "add_note" })`
- CLI: `npx zapier-sdk run-action smileline write add_note`

#### Create Lead
Creates a new enquiry in Smileline, matching it to an existing patient when the contact details already exist.

- Type: write · Key: `create_lead`
- Requires: firstName, treatmentSlug
- Optional: lastName, email, phoneMobile, location, message, marketingConsent, eventId, utm_source, utm_medium, utm_campaign, utm_term, utm_content, gclid, fbclid, landingUrl, captureUrl, referrer
- SDK: `runAction({ app: "smileline", actionType: "write", action: "create_lead" })`
- CLI: `npx zapier-sdk run-action smileline write create_lead`

#### Create Patient
Creates a patient record. Use Find Patient first if you might already have them.

- Type: write · Key: `create_patient`
- Requires: firstName
- Optional: lastName, preferredName, dateOfBirth, email, phoneMobile, phoneOther, addressLine1, addressLine2, city, province, postalCode, country, preferredContactMethod, locationId, leadSourceId, note
- SDK: `runAction({ app: "smileline", actionType: "write", action: "create_patient" })`
- CLI: `npx zapier-sdk run-action smileline write create_patient`

#### Create Task
Creates a task on the practice worklist, optionally linked to a patient or enquiry.

- Type: write · Key: `create_task`
- Requires: title
- Optional: dueAt, priority, kind, note, patientId, journeyId, locationId
- SDK: `runAction({ app: "smileline", actionType: "write", action: "create_task" })`
- CLI: `npx zapier-sdk run-action smileline write create_task`

#### Update Patient
Updates a patient record. Fields you leave blank are left untouched.

- Type: write · Key: `update_patient`
- Requires: patientId
- Optional: firstName, lastName, preferredName, dateOfBirth, email, phoneMobile, phoneOther, addressLine1, addressLine2, city, province, postalCode, country, preferredContactMethod, locationId, leadSourceId, note
- SDK: `runAction({ app: "smileline", actionType: "write", action: "update_patient" })`
- CLI: `npx zapier-sdk run-action smileline write update_patient`

### Queries (2)

Queries read from Smileline and return data. They change nothing.

#### Find Enquiry
Finds a patient's most recent enquiry, by patient ID or by searching for the patient.

- Type: search · Key: `find_journey`
- Requires: nothing
- Optional: patientId, q
- SDK: `runAction({ app: "smileline", actionType: "search", action: "find_journey" })`
- CLI: `npx zapier-sdk run-action smileline search find_journey`

#### Find Patient
Finds a patient by name, email address, phone number or postcode.

- Type: search · Key: `find_patient`
- Requires: q
- SDK: `runAction({ app: "smileline", actionType: "search", action: "find_patient" })`
- CLI: `npx zapier-sdk run-action smileline search find_patient`

### Search or Write Actions (1)

These operations search for a match first, and create one only if nothing is found.

#### Find or Create Patient
Finds a patient, creating one if none matches.

- Type: search_or_write · Key: `find_patient`
- Requires: q, firstName
- Optional: lastName, preferredName, dateOfBirth, email, phoneMobile, phoneOther, addressLine1, addressLine2, city, province, postalCode, country, preferredContactMethod, locationId, leadSourceId, note
- SDK: `runAction({ app: "smileline", actionType: "search_or_write", action: "find_patient" })`
- CLI: `npx zapier-sdk run-action smileline search_or_write find_patient`

## Popular integrations
- [Smileline + Google Sheets](zapier.com/apps/smileline/integrations/google-sheets.md)
- [Smileline + Airtable](zapier.com/apps/smileline/integrations/airtable.md)
- [Smileline + ActiveCampaign](zapier.com/apps/smileline/integrations/activecampaign.md)

## Links
- Full app page: zapier.com/apps/smileline/integrations
- MCP: zapier.com/mcp/smileline
- SDK: npmjs.com/package/@zapier/zapier-sdk