> For the complete documentation index, see [llms.txt](https://help.impact.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.impact.com/brand/what-would-you-like-to-learn-about/advocate-program/introduction-welcome-to-advocate/step-2-create-your-program-rules.md).

# Step 2: Create your program rules

Your program depends on the pairings of goals and actions to appropriately reward your referral participants. Together, these goals and actions form [program rules](https://help.impact.com/en/support/solutions/articles/155000001026-advocate-program-rules-explained).

First you’ll need to set goals. A goal is your desired target user behavior. The goals you set will depend on your program and the outcomes you want to drive. This can apply to both your customer advocates and the friends they refer. At least one conversion goal is required for every referral program.

Next come the actions. Actions are tied to specific goals. When the participant achieves a goal, an action (like issuing a reward) is triggered.

Rewards are used to motivate your customer advocates and their referred friends to take part in your referral program. Once you have your goals and actions in place, you’ll want to [create your rewards](https://help.impact.com/en/support/solutions/articles/155000001413). Rewards can be customized and made available across all of your referral programs (global rewards) or to only one program (program-specific rewards).

The next step would be to specify your referral landing page. The landing page is where referred friends will be directed when they click on an advocate’s share link. You’ll need to set up your [program share options](https://help.impact.com/en/support/solutions/articles/155000000322) too. Referral codes, share links, and message links are the main methods your customer advocates use to refer their friends.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://help.impact.com/brand/what-would-you-like-to-learn-about/advocate-program/introduction-welcome-to-advocate/step-2-create-your-program-rules.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
