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

# goody_autogift_rules_preview

> Preview what a paused autogift rule will send — card, message, products, and cost — without sending.

**Permission:** `Read` · **Workspace:** required (from `goody_workspaces_list`)

Previews what a paused autogift rule will send — the greeting card, message, product(s), and expected per-send cost — without sending, charging, or activating anything. Call it before [`goody_autogift_rules_activate`](https://developer.ongoody.com/mcp-reference/tools/autogift-rules-activate) and relay the result for confirmation.

## Parameters

**workspace\_id** `string` *required*

Workspace UUID — from `goody_workspaces_list`. The rule must belong to this workspace.

**autogift\_rule\_id** `string` *required*

Rule UUID — from [`goody_autogift_rules_list`](https://developer.ongoody.com/mcp-reference/tools/autogift-rules-list) or [`goody_autogift_rules_create`](https://developer.ongoody.com/mcp-reference/tools/autogift-rules-create).

## Returns

**card** `object | null`

The greeting card the rule will send.

**card**

**id** `string`

Card UUID.

**name** `string`

Card name.

**image\_url** `string`

Card image URL.

**message** `string | null`

The gift-card message template.

**from\_name** `string | null`

The "From" name recipients see.

**products** `object[]`

The product(s) the rule will send.

**product**

**product\_id** `string`

Product UUID.

**name** `string`

Product name.

**quantity** `integer`

How many are included.

**flex\_amount** `integer | null`

Funded amount in cents, for a Gift of Choice.

**expected\_spend\_per\_send** `object`

Estimated cost for a single recipient, in cents.

**expected\_spend\_per\_send**

**est\_group\_total\_low** `integer`

Low end of the estimate, in cents.

**est\_group\_total\_high** `integer`

High end of the estimate, in cents.

## Example

```text 💬 Prompt theme={null}
"What will my Clients birthday autogift actually send?"
```

```json 🔧 Tool call theme={null}
{
  "name": "goody_autogift_rules_preview",
  "arguments": { "workspace_id": "3f8a…", "autogift_rule_id": "6d2a…" }
}
```

```json ↩️ Result theme={null}
{
  "card": {
    "id": "a7f9…",
    "name": "Happy Birthday Confetti",
    "image_url": "https://ongoody.com/cards/a7f9….png"
  },
  "message": "Happy birthday, {{firstname}}!",
  "from_name": "Jordan at Acme",
  "products": [
    {
      "product_id": "0f3c…",
      "name": "Cold Brew Starter Kit",
      "quantity": 1,
      "flex_amount": null
    }
  ],
  "expected_spend_per_send": {
    "est_group_total_low": 4200,
    "est_group_total_high": 5000
  }
}
```

> [!NOTE]
>
> The message is shown as its raw template — personalization tags (e.g. the recipient's first name) are filled per-recipient at send time, so no placeholder recipient is invented.

> [!TIP]
>
> Once the preview looks right, turn the rule on with [`goody_autogift_rules_activate`](https://developer.ongoody.com/mcp-reference/tools/autogift-rules-activate).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.