# Online Raffle

To create an online lottery, we will use Zeffy's ticketing. You can refresh how to set up a ticketing here:

{% content-ref url="/pages/-LpZqfhob-yyqWtQO4lu" %}
[Ticketing configuration](/org/billets/configuration.md)
{% endcontent-ref %}

Before you begin, make sure that your draw meets the rules issued by the Gaming Authority of your province. In some provinces, you may need to obtain a **licence** for your lottery. For more detailed information on the regulations of each province, visit their respective websites or [our blog post](https://www.blog.simplyk.io/2020/06/creating-a-successful-lottery-for-your-organization/).&#x20;

{% hint style="info" %}
For Quebec, you'll need to follow regulations imposed by the *Régie des alcools, des courses et des jeux Québec (RACJ)*. We recommend you consult the RACJ [guidelines](https://www.racj.gouv.qc.ca/en/home.html) when you start organizing your lottery.
{% endhint %}

## Setting up your Raffle

There are two ways to use Zeffy ticketing for your lottery. You can choose to **only accept payments** on our platform or you can also **issue tickets**. If you are issuing tickets, make sure that they comply with the rules of your province.

Go to "Ticketing" in your dashboard and click "New Form." From the options available, pick "Lottery."

![](/files/QhT81OrpXL6X61uEEYtH)

To fill out your form, you can follow the directions that are outlined in the "Setting up a ticket office" page.

{% content-ref url="/pages/-LYxLca0KfeD-xHKGd0Q" %}
[Setting up a ticket office](/org/billets/configuration/configurer-une-billeterie.md)
{% endcontent-ref %}

### Creating your tickets

Whether you are using Zeffy to send your tickets, or you'll be sending your tickets yourself, your ticket needs to contain all the necessary information required by your regulatory body.

You can find a list of possible requirements and a sample ticket design in our [blog post.](https://www.blog.simplyk.io/2020/06/creating-a-successful-lottery-for-your-organization/)

### Sending your tickets

If you'll be preparing and selling your tickets by your own methods, and not through our platform, you should **uncheck** the option to generate e-tickets. You can find this option at the bottom of the Customization section. Your buyers will still be able to purchase tickets on your raffle form, but you'll be sending them the tickets yourself.

![](/files/nJ1IcFjVBmlKe6WGq3QJ)

{% hint style="warning" %}
If you're sending physical tickets to your buyers, make sure that the number on the ticket order corresponds to the number on the physical ticket that you'll be sending. You'll see where to find the numbers associated with each buyer the image below.
{% endhint %}

![](/files/NXJdXioaYVGrUvLzsCHw)

### Deciding the winner

To draw the winner, you can do it manually or with a number generator. Make sure that the draw process complies with the rules of your province.&#x20;

See Big Brothers Big Sisters of [Ponoka](https://www.simplyk.io/ticketing/5f35a8430708d10029e36886?fbclid=IwAR37TlkIYSpR13TMwMHYKkYyzbv7dMF70CAiOsC3_Q6eKiwcDj5kP23bcVY) and [Big Brothers Big Sisters](https://www.simplyk.io/ticketing/5ec6e2b219a85d0022c6af7e) of Fraser Valley for examples of raffles with Zeffy.&#x20;

For more details on how to set up your draw, see our[ blog article](https://www.blog.simplyk.io/2020/06/creating-a-successful-lottery-for-your-organization/).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.zeffy.com/org/billets/online-raffle.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
