WhatsApp Buttons (BETA)
Copy Code Button
6 min
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 command syntax how it works \#buttonmix → defines the message type (multimedia with buttons) title → main text displayed above the image subtitle → secondary text displayed below the title image image url → link to the image file in jpg format (file size depends on crm, commonly up to 5 mb) 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 result the user receives a message with an image , a title, subtitle , and a copy code button when the user clicks the button, the predefined code (000011 in this example) is automatically copied to their clipboard a confirmation message is shown (e g , the code has been copied ) ⚠️ important notes the image must be in jpg format maximum file size depends on your crm (commonly 5 mb) highlevel crm integration use short and clear button text (e g , copy code , get promo ) make sure the code value is correct and final , since users will copy it exactly as provided this button type does not send a response id to the crm, as it only performs a copy action