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

# Agent assets

> Provide approved links, text snippets, and images for agent outputs

<iframe src="http://localhost:3000/doc-comp-previews/agent-node-preview?type=agent_assets" title="Agent Node Preview" width="100%" height="250px" className="border dark:border-[#1C1C20] rounded-xl" />

## How Agent assets works

Agent assets is a content library tool that gives your agent pre-approved material to reference while generating messages. You can store links, reusable text snippets, and uploaded images. This keeps every customer-facing output on brand and compliant — the agent selects from your curated library instead of generating content from scratch. Assets are matched by title and description, so well-named assets are surfaced reliably when the agent's prompt references them.

## Configuration

<Columns cols={2}>
  <Card title="Inputs">
    <ParamField path="Prompt" type="string">
      Instructions for when the agent should use the assets.
    </ParamField>

    <ParamField path="Assets" type="object" required>
      List of curated assets. Each asset has a kind, title, and description with kind-specific content fields.
    </ParamField>

    <ParamField path="Asset kind" type="enum" required>
      **Options:** `link`, `text`, `image`.
    </ParamField>

    <ParamField path="Title" type="string" required>
      Asset identifier. Use stable names so prompts can reference them consistently.
    </ParamField>

    <ParamField path="Description" type="string">
      Guidance for when to use the asset.
    </ParamField>

    <ParamField path="Link URL" type="string">
      For `link` assets, the destination URL.
    </ParamField>

    <ParamField path="Text body" type="string">
      For `text` assets, the reusable copy block.
    </ParamField>

    <ParamField path="Image URL" type="string">
      For `image` assets, uploaded image URL.
    </ParamField>
  </Card>

  <Card>
    <iframe src="http://localhost:3000/doc-comp-previews/agent-config-preview?type=agent_assets" title="Agent Config Preview" width="100%" height="600px" className="" />
  </Card>
</Columns>

<Card title="Outputs">
  <ParamField path="assets" type="object[]" required>
    The full set of configured assets available to the agent during the run.
  </ParamField>

  <ParamField path="assets[].kind" type="enum" required>
    The type of asset: `link`, `text`, or `image`.
  </ParamField>

  <ParamField path="assets[].title" type="string" required>
    The title identifier used to reference this asset in prompts and agent reasoning.
  </ParamField>

  <ParamField path="assets[].description" type="string">
    The usage guidance that tells the agent when this asset is appropriate.
  </ParamField>

  <ParamField path="assets[].content" type="string" required>
    The resolved content — a URL for link/image assets, or the text body for text assets.
  </ParamField>
</Card>

## Use Cases

**Brand-Safe Imagery**

```
Condition: Agent is composing a lifecycle or marketing email
Action: Agent selects from uploaded, approved product images instead of generating or linking external images
Outcome: Every email uses on-brand visuals that have passed design review
```

**Legal/Compliance Copy**

```
Condition: Message content touches pricing, terms, or regulatory topics
Action: Agent inserts the matching disclaimer or legal text snippet verbatim
Outcome: Compliance language is consistent across all automated communications
```

**Resource Links**

```
Condition: Agent recommends a help article, doc page, or onboarding guide
Action: Agent pulls the canonical URL from the asset library rather than generating a link
Outcome: Users always receive correct, up-to-date links — no broken or hallucinated URLs
```

**Product Documentation**

```
Condition: Agent responds to a feature question or onboarding milestone
Action: Agent references stored text snippets describing product capabilities and setup steps
Outcome: Responses are accurate and aligned with the latest product documentation
```

## Best Practices

**Asset Organization**

* Keep asset titles short, stable, and descriptive so prompts can reference them reliably.
* Use a consistent naming convention (e.g., `legal-disclaimer-pricing`, `img-hero-product`) across your library.
* Group related assets with similar title prefixes to make the library easy to browse and maintain.
* Add one asset per concept — avoid bundling multiple links or snippets into a single asset.

**Content Governance**

* Store only approved, reviewed content for customer-facing communication.
* Use the description field to specify exactly when each asset should be used so the agent picks the right one.
* Periodically review and remove outdated assets to prevent the agent from referencing stale content.
* Version sensitive copy (legal disclaimers, pricing) and update assets promptly when terms change.

**Prompt Integration**

* Reference asset titles explicitly in your agent prompt (e.g., "Use the `legal-disclaimer-pricing` asset when discussing costs").
* Instruct the agent to prefer assets over generated content for any compliance-sensitive output.
* Combine image assets with text assets when emails need both visuals and copy from the approved library.
* Test that the agent selects the correct asset by running sample events through the agent preview.
