# Text Blaze Feature of the Week #5: Re-using snippets in other snippets

**URL:** <https://community.blaze.today/t/text-blaze-feature-of-the-week-5-re-using-snippets-in-other-snippets/27289>\
**Category:** Show and Tell\
**Created:** [March 9, 2023, 7:40pm UTC](https://community.blaze.today/t/text-blaze-feature-of-the-week-5-re-using-snippets-in-other-snippets/27289 "2023-03-09T19:40:21Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dylan](https://community.blaze.today/user_avatar/community.blaze.today/dylan/32/5609_2.png) [@Dylan](https://community.blaze.today/u/Dylan)\
**Post date:** [March 9, 2023, 7:40pm UTC](https://community.blaze.today/t/text-blaze-feature-of-the-week-5-re-using-snippets-in-other-snippets/27289/1 "2023-03-09T19:40:22Z")

</div>

Hey Text Blaze community 🔥

It's week 5 of the Text Blaze Feature of the Week series where I post weekly about cool features to showcase all the awesome stuff you can do with Text Blaze 🕶

> **Text Blaze Feature of the Week #5: Import Command**

Do you find yourself typing the same text in multiple snippets? If so, the [import command](https://blaze.today/commands/import/) is going to be your best friend 😉

The import command is helpful if you want to include a snippet within another snippet. Instead of re-typing your email signature into each and every snippet you use, you can simply create a snippet for the signature itself and import it into all of your other ones.

What's even cooler is that if you have a snippet imported into multiple snippets (such as an email signature), you only need to edit the imported snippet to update all of the others.

![import-command](https://community.blaze.today/uploads/default/original/2X/2/26c4f4e47a5bbdb79bb8804c0c07b2a602ce13ef.gif)

Three things to know about the import command:

1. You can edit snippets that are imported into other snippets and the changes will be made live in all snippets.

2. The import command can be used with forms and the [if command](https://blaze.today/commands/if/) to conditionally include content that depends on your form input. _(See the last snippet)_

3. Import is different from the [snippet command](https://blaze.today/commands/snippet/), which provides information about your snippets _within_ the snippets themselves.

**Snippet: /mysig**

Dylan Cable  
Head of Community at Text Blaze  
Start Today to Eliminate Repetitive Typing Forever

**Snippet: /newcustomer**

Hey there!

I'm happy to tell you more about how Text Blaze works. Let's hop on a call to discuss this.

Here's my calendar link.

**Snippet: /oldcustomer**

Hey there!

I hope you're enjoying Text Blaze. Let me know if there's anything I can do to help!

Please visit our guides and YouTube channel for more information as well 🙂

**Master snippet (imports the others depending on the selection)**

{note} {formmenu: New Customer; Old Customer; name=customerstatus}{endnote: trim=yes}

{if: customerstatus = "New Customer"} {import: /newcustomer} {else} {import: /oldcustomer}{endif}

{import: /mysig}

---

<div class="post-metadata">

**Author:** ![Dylan](https://community.blaze.today/user_avatar/community.blaze.today/dylan/32/5609_2.png) [@Dylan](https://community.blaze.today/u/Dylan)\
**Post date:** [March 9, 2023, 8:57pm UTC](https://community.blaze.today/t/text-blaze-feature-of-the-week-5-re-using-snippets-in-other-snippets/27289/2 "2023-03-09T20:57:00Z")

</div>



---

<div class="post-metadata">

**Author:** ![joel](https://community.blaze.today/user_avatar/community.blaze.today/joel/32/11513_2.png) [@joel](https://community.blaze.today/u/joel)\
**Post date:** [October 11, 2024, 8:15pm UTC](https://community.blaze.today/t/text-blaze-feature-of-the-week-5-re-using-snippets-in-other-snippets/27289/3 "2024-10-11T20:15:44Z")

</div>

Can I use the import command in a drop-down menu? Can create a list of snippets inside of a snippet that I want to choose from to build out a dynamic prompt? For example, if I'm building out an AI prompt and I have a list of 5 target audiences (that are 5 different snippets) and a list of 5 brand voices (that are also 5 other different prompts), can I have a drop-down for 5 target audiences and 5 brand voices inside of that prompt that I can choose from?

---

<div class="post-metadata">

**Author:** ![Dylan](https://community.blaze.today/user_avatar/community.blaze.today/dylan/32/5609_2.png) [@Dylan](https://community.blaze.today/u/Dylan)\
**Post date:** [October 14, 2024, 11:49am UTC](https://community.blaze.today/t/text-blaze-feature-of-the-week-5-re-using-snippets-in-other-snippets/27289/4 "2024-10-14T11:49:34Z")

</div>

Hi Joel,

At this time, you cannot add the import command in a drop down menu to trigger snippets from within other snippets. That is an interesting idea though.

For now, you can use something like the snippet below that does something similar. Please let me know if it works for you.

{note}Target Audience: {formmenu: default=Healthcare; Sales; Education; name=target audience}  
Brand Voice: {formmenu: default=Professional; Funny; Knowledgable; name=brand voice}{endnote}

{if: `target audience` = "Healthcare"; trim=right}  
When the menu selection is "Healthcare", this will show.  
{elseif: `target audience` = "Sales"; trim=yes}  
When the menu selection is "Sales", this will show.  
{elseif: `target audience` = "Education"; trim=yes}  
When the menu selection is "Education", this will show.  
{endif: trim=left}

{if: `brand voice` = "Professional"; trim=right}  
When the menu selection is "Professional", this will show.  
{elseif: `brand voice` = "Funny"; trim=yes}  
When the menu selection is "Funny", this will show.  
{elseif: `brand voice` = "Knowledgable"; trim=yes}  
When the menu selection is "Knowledgable", this will show.  
{endif: trim=left}

---

<div class="post-metadata">

**Author:** ![joel](https://community.blaze.today/user_avatar/community.blaze.today/joel/32/11513_2.png) [@joel](https://community.blaze.today/u/joel)\
**Post date:** [November 6, 2024, 1:55pm UTC](https://community.blaze.today/t/text-blaze-feature-of-the-week-5-re-using-snippets-in-other-snippets/27289/5 "2024-11-06T13:55:41Z")

</div>

Thanks Dylan!
