Skip to main content
The Sully.ai API transforms patient conversation transcriptions into structured clinical documentation. This guide covers three approaches to note generation, each suited to different documentation needs.

Overview

Sully.ai offers three methods for generating clinical notes: All three approaches use the same workflow: submit a transcript, poll for completion (or use webhooks), and retrieve the generated note.

SOAP Notes

SOAP (Subjective, Objective, Assessment, Plan) is a widely-used clinical documentation format. Sully.ai includes a built-in SOAP note generator that requires no configuration.

Structure

SOAP notes are organized into four sections:
  • Subjective: Patient-reported symptoms, history, and concerns
  • Objective: Clinical observations, vital signs, examination findings
  • Assessment: Diagnosis, clinical impressions, and reasoning
  • Plan: Treatment plan, prescriptions, follow-up instructions

When to Use

  • Standard clinical visits and patient encounters
  • Quick documentation without custom formatting needs
  • Getting started with Sully.ai integration

Generate a SOAP Note

SOAP Note Response

SOAP notes return both markdown and structured JSON formats:

Custom Note Styles

If your practice uses a specific note format, you can teach Sully.ai to replicate it by providing a sample note. This approach is ideal when you have existing documentation standards you want to maintain.

When to Use

  • Your practice has established note formats to match
  • Specialty-specific documentation requirements
  • Migrating from another documentation system

Step 1: Create a Note Style

Submit a sample note that demonstrates your preferred format:

Step 2: Generate Notes Using Your Style

Use the returned template when creating notes:
Store the template object from the style creation response. Reuse it for all notes that should follow this format.

Note Templates

For maximum control over note structure, use templates. Templates let you define exactly what sections appear, their order, formatting, and content guidelines. This approach is ideal for EHR integration where consistent structured output is essential.

When to Use

  • EHR systems requiring specific field mappings
  • Regulatory compliance with precise formatting requirements
  • Complex multi-section documentation needs
  • When custom styles don’t provide enough structural control

Template Schema

A template consists of:

Section Types

Templates support three section types: Heading - Section headers with nesting support
Text - Paragraph content with tone and length controls
List - Bulleted or numbered lists with item limits

Complete Template Example

For the complete template schema reference, see the Note Template documentation.

Choosing the Right Approach

Use this decision guide to select the best method for your needs:
You can start with SOAP notes or custom styles and migrate to templates later as your needs evolve. Many teams begin with custom styles to match their current workflow, then create templates for EHR integration.

Polling vs Webhooks

After submitting a note generation request, you need to retrieve the completed note. Sully.ai supports two patterns.

Polling

Poll the notes endpoint until processing completes:

Webhooks

For production applications, webhooks provide a more efficient alternative. Instead of polling, Sully.ai sends a notification to your server when processing completes.
For complete webhook setup including signature verification, see the Webhooks guide.

Adding Context

Improve note quality by providing additional context when creating notes. This helps Sully.ai generate more accurate and complete documentation.
For a complete list of context fields and their effects, see the Create Note API reference.

Next Steps

Note Template Schema

Complete reference for template section types and properties

Webhooks

Set up real-time notifications for completed notes

Audio Transcription

Learn about uploading and streaming audio for transcription

API Reference

Full Create Note API documentation