> ## Documentation Index
> Fetch the complete documentation index at: https://dialnexa.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Cody

> Connect DialNexa calls to Cody for model run, extraction result, generated answer, transcript, classification, media analysis, or tool call workflows.

Cody is an AI-powered assistant that uses the magic of ChatGPT meets the expertise of a custom-made AI assistant trained on your specific business.

<Note>
  Use Cody with DialNexa when the call needs classification, extraction, generation, retrieval, summarization, visual understanding, or another AI-assisted step.
</Note>

## Where Cody fits in a DialNexa workflow

Cody should receive DialNexa output when the conversation affects a model run, extraction result, generated answer, transcript, classification, media analysis, or tool call. The handoff should explain what the caller asked for, what DialNexa learned, which record or object is affected, and who owns the next step.

<CardGroup cols={2}>
  <Card title="Keep humans in control" icon="check-circle">
    Send low-confidence, sensitive, or account-changing outputs to review instead of acting silently.
  </Card>

  <Card title="Classify call intent" icon="check-circle">
    Turn messy speech into intent, category, urgency, language, sentiment, and confidence fields.
  </Card>

  <Card title="Generate useful drafts" icon="check-circle">
    Create replies, notes, briefs, summaries, or tasks from the exact call outcome and approved context.
  </Card>

  <Card title="Extract structured details" icon="check-circle">
    Pull names, dates, products, addresses, invoice numbers, image labels, or requested actions into fields.
  </Card>
</CardGroup>

## What DialNexa should capture for Cody

* Transcript, summary, language, speaker role, media or file link, intent, confidence, and sensitive-data flag
* Knowledge source, prompt version, model ID, tool call, allowed action, and fallback path
* Generated draft, extracted fields, recommended next step, review reason, and owner
* Transcript link, recording link, DialNexa call ID, CRM link, ticket link, and output record URL
* Risk flags for hallucination, missing source, private data, low confidence, or restricted action

## High-value Cody workflows

<AccordionGroup>
  <Accordion title="Generate a follow-up brief for a human">
    DialNexa should capture the preferred time, timezone, owner, promise made, and contact channel before updating Cody. The receiving team should see exactly why the follow-up exists and what the caller expects next.
  </Accordion>

  <Accordion title="Classify support reason after calls">
    For this workflow, DialNexa should send Cody a concise, action-ready handoff: matched caller, affected record, reason for the update, urgency, owner, next step, and links to call evidence.
  </Accordion>

  <Accordion title="Draft a CRM note or support reply">
    For this workflow, DialNexa should send Cody a concise, action-ready handoff: matched caller, affected record, reason for the update, urgency, owner, next step, and links to call evidence.
  </Accordion>

  <Accordion title="Extract appointment or address details">
    DialNexa should capture the preferred time, timezone, owner, promise made, and contact channel before updating Cody. The receiving team should see exactly why the follow-up exists and what the caller expects next.
  </Accordion>

  <Accordion title="Summarize a long escalation">
    For this scenario, DialNexa should treat Cody as an escalation destination. Send the impact, urgency, affected customer or object, owner, and transcript link so the right team can act before the issue gets colder.
  </Accordion>

  <Accordion title="Answer from approved knowledge">
    For this workflow, DialNexa should send Cody a concise, action-ready handoff: matched caller, affected record, reason for the update, urgency, owner, next step, and links to call evidence.
  </Accordion>

  <Accordion title="Use create document from file">
    Use create document from file only when DialNexa has a matched caller, a clear destination object, and enough call context to justify opening a new AI workflow result. If the caller is unclear, route to review instead of creating noise.
  </Accordion>

  <Accordion title="Use send message">
    Use send message only after DialNexa confirms recipient, consent, channel, message purpose, and the exact follow-up promised during the call.
  </Accordion>
</AccordionGroup>

## Workflows that pair Cody with other integrations

* [Cody](/integrations/cody) + [Google Drive](/integrations/googledrive): Google Drive for source files and recordings.
* [Cody](/integrations/cody) + [HubSpot](/integrations/hubspot): HubSpot for CRM notes and tasks.
* [Cody](/integrations/cody) + [Zendesk](/integrations/zendesk): Zendesk for support replies and ticket summaries.
* [Cody](/integrations/cody) + [Slack](/integrations/slack): Slack for review of risky outputs.
* [Cody](/integrations/cody) + [Google Docs](/integrations/googledocs): Google Docs for long-form call briefs.
* [Cody](/integrations/cody) + [Notion](/integrations/notion): Notion for knowledge updates.
* [Cody](/integrations/cody) + [Google Sheets](/integrations/googlesheets): Google Sheets for extraction QA.
* [Cody](/integrations/cody) + [Intercom](/integrations/intercom): Intercom for customer conversation context.

## Implementation notes

* Use the DialNexa call ID as the idempotency key before running Cody actions.
* Write a short operational summary into Cody and link to the full transcript or recording for audit.
* Map required fields before launch: destination object, owner, status, urgency, next step, and record URL.
* Create review paths for low-confidence matches, sensitive requests, high-value customers, and actions that change money, access, legal terms, or customer commitments.

## FAQs

<AccordionGroup>
  <Accordion title="Should AI outputs act without review?">
    Only for low-risk workflows with clear confidence thresholds. Account changes, money, access, legal, and sensitive support cases need review.
  </Accordion>

  <Accordion title="What should be logged for AI decisions?">
    Prompt version, source context, model or workflow ID, confidence, output, call ID, and reviewer when applicable.
  </Accordion>

  <Accordion title="How do we reduce hallucinations?">
    Use approved knowledge sources, cite source records, set fallback behavior, and route low-confidence answers to humans.
  </Accordion>

  <Accordion title="Can DialNexa write follow-up messages with AI?">
    Yes, but drafts should use the actual call outcome, approved tone, and customer context. Sensitive messages should be reviewed.
  </Accordion>

  <Accordion title="What data should not be sent to AI tools?">
    Secrets, payment data, private HR or health details, and anything your policy forbids unless the tool and workflow are approved.
  </Accordion>

  <Accordion title="How should extraction errors be handled?">
    Store confidence and route missing or conflicting fields to review rather than silently updating downstream systems.
  </Accordion>
</AccordionGroup>
