---
title: Copy Code Button
slug: copy-code-button
docTags: 
createdAt: 2025-08-18T14:01:34.006Z
---

### Introduction

This command allows you to send an image with a button that copies a predefined code directly to the user’s clipboard. It is useful for sharing access codes, promo codes, or identifiers that the user can reuse quickly without typing.

::Image[]{src="https://api.archbee.com/api/optimize/srzEvL3tK0Cgq-VfwOzrO/GG1vCenvc2wRhxtXwU0fZ_image.png" size="40" width="573" height="488" position="center" caption="Copy code preview" showCaption="true"}

### Command Syntax

:::BlockQuote
\#ButtonMix|Title|Subtitle|image\*IMAGE\_URL|copy\*ButtonText\*CodeValue
:::

### How it works

1. **#ButtonMix** → Defines the message type (multimedia with buttons).
2. **Title** → Main text displayed above the image.
3. **Subtitle** → Secondary text displayed below the title.
4. **image\*IMAGE\_URL** → Link to the image file in .jpg format (file size depends on CRM, commonly up to 5 MB).
5. **copy*ButtonText*CodeValue** → Defines the copy-to-clipboard button:
   - ButtonText → The text displayed on the button (e.g., *Copy Code*).
   - CodeValue → The exact code or string that will be copied to the user’s clipboard.

### Example

:::BlockQuote
\#ButtonMix|Title|Subtitle|image\*https\://wisphub.io/static/img/wisp-bg-5.jpg|copy\*Copy Code\*000011
:::

### Result

1. The user receives a message with an **image**, a **title, subtitle**, and a **Copy Code button**.
2. When the user clicks the button, the predefined code (000011 in this example) is automatically copied to their clipboard.
3. A confirmation message is shown (e.g., *The code has been copied*).

### ⚠️ Important Notes

1. The image must be in **.jpg**format. Maximum file size depends on your CRM (commonly 5 MB).
   - Highlevel CRM Integration
2. Use **short and clear button text** (e.g., *Copy Code*, *Get Promo*).
3. Make sure the **code value is correct and final**, since users will copy it exactly as provided.
4. This button type does not send a response ID to the CRM, as it only performs a **copy action**.

