> For the complete documentation index, see [llms.txt](https://docs.threadwatcher.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.threadwatcher.xyz/features/tickets/modules.md).

# Modules

As mentioned in the previous page, a ticket is created by the user first going thru a "pipeline" of modules defined by you. These modules are ran in order from top to bottom and culminates in a ticket being created!

Modules can be configured with conditions to only run under certain circumstances using "conditionals". If you've ever dabbled with code you can see this as `if statements`. If you've never dabbled with code you can see this as `if this has happened, do this` .

<figure><img src="https://365657471-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGFV5mYu3WDGM8JKaE5zg%2Fuploads%2Fk4mk03xIsFBbmOpEv78I%2Fimage.png?alt=media&amp;token=5232d25e-90c5-4284-8c8a-2dbfa6165583" alt=""><figcaption><p>This conditional setup will only run the module if the user initiating the ticket is me (family friendly)</p></figcaption></figure>

Most (but not all) modules export `variables` that can be used elsewhere. These variables are accessed by typing `{{variable_name}}`. These variables can be used in these conditional statements, and clicking the blue variable icon to the left of the text box will show you a list of all the variables that are accessible to that specific module.

<figure><img src="https://365657471-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGFV5mYu3WDGM8JKaE5zg%2Fuploads%2F6dfQlrRhYk7mCIXYHKUS%2Fimage.png?alt=media&amp;token=635de87d-317a-404a-abdf-babb8c0dc205" alt=""><figcaption></figcaption></figure>
