Cloudflare Docs
Zaraz
Visit Zaraz on GitHub
Set theme to dark (⇧+D)

Create a variable

Variables are reusable blocks of information. They allow you to have one source of data you can reuse across tools and triggers in the dashboard. You can then update this data in a single place.

For example, instead of typing a specific user ID in multiple fields, you can create a variable with that information instead. If there is a change and you have to update the user ID, you just need to update the variable and the change will be reflected across the dashboard.

​​ Create a new variable

  1. Log in to the Cloudflare dashboard, and select your account and domain.
  2. Go to Zaraz > Variables.
  3. Select Create variable, and give it a name.
  4. In Variable value give your variable a value. For now, Zaraz only accepts strings.
  5. Select Save.

Your variable is now ready to be used with tools and triggers.

​​ Next steps

Refer to Add a third-party tool and Create a trigger for more information on how to add a variable to tools and triggers.

If you need to edit or delete variables, refer to Edit variables.