> For the complete documentation index, see [llms.txt](https://docs.diaflow.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.diaflow.io/workflow-builder/nodes/private-ai-llm-models/cohere.md).

# Cohere

### 1. The "Ready-to-Use" AI (Overview)

Zero setup, zero API keys. Just drag, drop, and start prompting using Diaflow's built-in AI credits.

Cohere’s superpower is clean, reliable business text generation. It is a strong fit for summaries, business writing, document-based review, and question answering from long text.

### 2. How to Add the Node

On your canvas, open the node picker, search for **Cohere**, and click it to add the node to your workflow.

<figure><img src="/files/lQZ6llYShQpYoABlRLY8" alt=""><figcaption></figcaption></figure>

### 3. What can you automate? (The "Wow" Use Cases)

#### 1. **The Proposal Polisher**

Turn rough sales notes, discovery answers, or service details into polished proposal drafts, executive summaries, and client-ready writing.

#### 2. **The Contract Briefing Assistant**

Pass a document link and let Cohere turn long agreements, policy files, or reports into plain-English summaries, key points, and next-step actions.

#### 3. **The Spreadsheet Storyteller**

Send CSV or Excel document links into Cohere and turn raw business data into trends, exceptions, and decision-ready summaries for your team.

### 4. Step-by-Step: Configuration & Smart Data Injection

#### 1. **Choose your Brain (Model):**

Select your preferred model from the dropdown.

Use **Command R** for faster everyday tasks. Use **Command R+** for deeper reasoning and more detailed output.

#### 2. **Write the Prompt & Inject Data:**

The easiest way to add live workflow data is to type `@` on your keyboard. Diaflow opens a visual dropdown so you can pick values from earlier steps.

Typing `{{` also works perfectly if you prefer the classic bracket syntax.

Put your task, rules, tone, and desired format directly into the main Prompt box.

#### 3. **Attach Media (Documents only):**

If your workflow already has a document link from an earlier step, insert it into the Prompt with `@`.

Cohere can work from document links such as `pdf`, `docx`, `txt`, `csv`, `xlsx`, and `xls`.

If you want the node to remember earlier turns, turn on **Memory**. If you expect the same request to repeat, turn on **Caching** to reuse the earlier result.

<figure><img src="/files/kqVX1mgHIrklZgDamORK" alt=""><figcaption></figcaption></figure>

### 5. The Output: Seeing Your Results

This node returns generated text that you can send straight into the next step.

Use `{{node_name.data}}` in your next step, like Gmail or Google Sheets, to pass the generated text forward.

You may also see the model used and the final prompt that ran. This helps you review what the node actually used.

You will also see `input_token` and `output_token`. Since Diaflow handles the billing, these simply act as a meter so you can track how many credits your workflow is consuming.

<figure><img src="/files/mZBIJLCrErmeMQ9wRuKA" alt=""><figcaption></figcaption></figure>

### 6. Golden Rules & Guardrails (CRITICAL PRO-TIPS)

#### **File/Image Limits:**

This node works with document links only.

Supported document types are `pdf`, `docx`, `txt`, `csv`, `xlsx`, and `xls`.

Image input is not supported in this node. Video input is not supported in this node.

#### **The System Prompt Trap:**

This node works best when all instructions live in the main Prompt box.

Put your role, rules, tone, and formatting instructions there for the most reliable result.

#### **Auto-Streaming:**

The AI will think quietly and return the full complete answer at once.

#### **Long answer behavior:**

Diaflow uses a sensible default answer length.

If you ask for a much longer result, Diaflow automatically keeps the answer within the model’s limit.

For very large tasks, split the work into smaller steps.

#### **Text-only behavior:**

This node returns text only.

It does not use built-in tools or action calling inside the same step.

#### **If a run fails:**

If you see `Prompt invalid`, review the dynamic data you inserted and make sure the earlier step exists.

If you see `Invalid Model`, reselect the model and test again.

If the run still fails, retry once, then contact support.

### 7. Need Help?

* [**Understanding Diaflow Variables (`@` vs `{{ }}`)**](/agent-builder/agent-builder/cross-features-control/mention-tool.md)
* [**Contact Diaflow Support**](mailto:support@diaflow.io)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.diaflow.io/workflow-builder/nodes/private-ai-llm-models/cohere.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
