Using Special Dynamic Variables

There are two special dynamic variables that you can use to make prompt creation easy.

  1. {{ z_current_date }} - Replaced with the current date on prompt execution. When you place this in your prompt, as soon as you run the prompt, ZenPrompts.ai will replace this with the current date.

  2. {{ z_timestamp }} - Replaced with the current time on prompt execution. When you place this in your prompt, as soon as you run the prompt, ZenPrompts.ai will replace this with the current time.

  3. {{ z_website_[var] }} - Replaced with website title and description. Here is how to use the variable:

    1. {{ z_website_1 }} - When you add a website url (e.g., https://www.zenprompts.ai) the information will be replaced with Title and Description of the website. You can have as many of these variables as possible. And you can put any number or alphabet after the second underscore (_). For example you can say - {{ z_website_url }} or {{ z_website_x }} or {{ z_website_2 }}

    2. {{ z_website_1.title }} - If you only want to pull the title of the website, then after the [var], add .title

    3. {{ z_website_1.description }} - If you only want to pull the title of the website, then after the [var], add .description

Last updated