Digital Scratch Card - CodelessBot

What Does This Plugin Do?

BETA
Create a digital scratch card to allow users to reveal a personalized prize…which can include their name, a unique discount code or any other information!

Level of Difficulty: Easy

Compatibility: Chatfuel, ManyChat

Plugin Request URL

Chatfuel: 

  • Create Scratch Card: https://api.codelessbot.com/v1/chatfuel/scratchcard/create?accesskey={{cbot_accesskey}}&secretkey={{cbot_secretkey}}
  • Get Prize Details: https://api.codelessbot.com/v1/chatfuel/scratchcard/get-details?accesskey=YOURACCESSKEY&secretkey=YOURACCESSKEY

 

ManyChat: 

  • Create Scratch Card: https://api.codelessbot.com/v1/manychat/scratchcard/create?accesskey={{cbot_accesskey}}&secretkey={{cbot_secretkey}}
  • Get Prize Details: https://api.codelessbot.com/v1/manychat/scratchcard/get-details?accesskey=YOURACCESSKEY&secretkey=YOURACCESSKEY

Step 1. Download & Install the Plugin Template

Contact us for the link for the Express template. Then follow the prompt to install the Template for your Chatfuel or ManyChat Messenger Bot.

(If you’ve already install the template – skip this step!)

Step 2. Create your Prize Image using the FotoScript Plugin

Login to the CodelessBot and create a new FotoScript Design for your personalized prize image. (Already created your Design? Skip this step!)

Chatfuel Instructions
  1. Login to CodelessBot
  2. On the left-hand sidebar, click on “FotoScript”
  3. Select a Design from the FotoScript Gallery
  4. To edit the Design, select a textbox from the canvas
  5. In the left-hand sidebar tab, enter a message
  6. To personalize your message, enter your “custom field” name surrounded by 2 curly braces – eg. {{first name}}
  7. If the custom field is too long, then your message might not fit! So be sure to enter a fallback message
  8. Navigate to the “Format” tab
  9. Select your “Chatfuel” for the bot platform
  10. Click on “Select & Save Design”
ManyChat Instructions
  1. Login to CodelessBot
  2. On the left-hand sidebar, click on “FotoScript”
  3. Select a Design from the FotoScript Gallery
  4. To edit the Design, select a textbox from the canvas
  5. In the left-hand sidebar tab, enter a message
  6. To personalize your message, enter your “custom field” name surrounded by 2 curly braces – eg. {{first name}}
  7. If the custom field is too long, then your message might not fit! So be sure to enter a fallback message
  8. Navigate to the “Format” tab
  9. Select your “ManyChat” for the bot platform
  10. Click on “Select & Save Design”

Step 3. Create the Scratch Card in CodelessBot

Login to CodelessBot and create a new Scratch Card. You’ll need to upload your scratch card image, select your prize image and enter other information.

Chatfuel Instructions
  1. Login to CodelessBot
  2. On the left-hand sidebar, click on “Scratch Card”
  3. Then click on the button “New Scratch Card”
  4. Follow the instructions in the 4 tabs to customize your scratch card and follow the installation instructions.
ManyChat Instructions
  1. Login to CodelessBot
  2. On the left-hand sidebar, click on “Scratch Card”
  3. Then click on the button “New Scratch Card”
  4. Follow the instructions in the 4 tabs to customize your scratch card and follow the installation instructions.

Step 4. Display Prize Details for the Scratch Card (Optional but Recommended)

From the dropdown in the tab “Step 4 – Setup Wizard”, select “Get Prize Details for a Scratch Card”. Follow the instructions in the wizard to send users a confirmation of their prize.

More Information

FAQs

1. What's the pricing for the Digital Scratch Card plugin?

The Digital Scratch Card is a CodelessBot Plugin. When you subscribe to a CodelessBot plan will receive a certain number of interactions each month. Every time a user generates the link to the scratch card, views a scratch card or gets information about a scratch card, it will cost you 1 interaction. For more details on the number of interactions for each plan, refer to the FAQ “How many Scratch Card Designs can I create?” or visit our pricing page.

2. How many digital Scratch Cards can I create?

The max number of Scratch Card Designs you can create will depend on your plan. Also keep in mind that the Scratch Card plugin will also require a Bot Integration. Each plans comes with a different max number of Bot Integration.
 
CodelessBot Plan Scratch Card Designs Bot Integration
Starter 10 1
Basic 20 1
Pro 50 2
Business 100 3

For example, if you’re on the Pro plan, you’ll be able to create 50 Scratch Cards Designs for 2 Messenger Bots.

3. Can I install the Digital Scratch Card on multiple bots?

You are allowed to install the Digital Scratch Card plugin on any bots that you own or manage on an ongoing basis for a client. (More Details)

Also keep in mind that you can only create a limited number of Scratch Cards and this plugin also requires that you setup a Bot Integration. (Each plan comes with a different number of bot integration)

Refer to the FAQ “How many Scratch Card Designs can I create?” for more details.

4. Does the Digital Scratch Card expire?

The link to a scratch card is only valid for 24 hours. After 24 hours, a user will see a message stating “Sorry! This scratch card is no longer available.”

5. Can I see a sample preview of my digital Scratch Card?

Yes! To preview your Scratch Card, just click on the blue “Preview” button in the top right.
 
In the “Save & Claim Prize” tab, there’s also an option to customize the details for your scratch card preview. Just enter the sample text for each custom field name (see example below). Then, your preview will contain the values that you entered below.
 

6. How many custom fields/attributes can I save to a Scratch Card?

You can save up to 12 custom fields/attributes to a scratch card.

7. Can I randomize the prize?

Yes, but this feature is only included in our Premium Template. For the express template, you’ll need to build it yourself.

8. Can I restrict the number of scratch card issued to a user?

Yes, but this feature is only included in our Premium Template. For the express template, you’ll need to build it yourself.

Enhance Your Bot with CodelessBot

CodelessBot plans start from $18/month