> For the complete documentation index, see [llms.txt](https://orbit-b2b.gitbook.io/orbit-b2b-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://orbit-b2b.gitbook.io/orbit-b2b-docs/email-notifications/shortcodes.md).

# Available shortcodes

Shortcodes are placeholders that are replaced with real values when the email is sent. Write them exactly as shown (double curly braces).

***

## Shortcodes available in all templates

| Shortcode            | Value                                   |
| -------------------- | --------------------------------------- |
| `{{customer_name}}`  | Customer's full name                    |
| `{{customer_email}}` | Customer's email address                |
| `{{company_name}}`   | Company name from the registration form |
| `{{shop_name}}`      | Your Shopify store name                 |
| `{{shop_url}}`       | Your store's URL                        |

***

## Shortcodes for Approved and Auto-Approved emails

| Shortcode        | Value                                    |
| ---------------- | ---------------------------------------- |
| `{{group_name}}` | The customer group they were assigned to |

***

## Shortcodes for the Rejection email

| Shortcode         | Value                                                                 |
| ----------------- | --------------------------------------------------------------------- |
| `{{review_note}}` | The note you left when rejecting (optional)                           |
| `{{edit_link}}`   | A secure link for the customer to edit and resubmit their application |

> Always include `{{edit_link}}` in your rejection email so customers can correct and resubmit.

***

## Shortcodes for the New Submission email (sent to you)

| Shortcode          | Value                                               |
| ------------------ | --------------------------------------------------- |
| `{{submitted_at}}` | Date and time the form was submitted                |
| `{{admin_link}}`   | Direct link to the submission in your app dashboard |

***

## Example usage

```
Hi {{customer_name}},

Your application for {{shop_name}} has been approved!
You've been added to our {{group_name}} tier and can now log in to shop at wholesale prices.

Welcome aboard,
{{shop_name}}
```


---

# 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://orbit-b2b.gitbook.io/orbit-b2b-docs/email-notifications/shortcodes.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.
