How to Use Coze Shortcuts for Creating Buttons and Telegram Commands

A Coze shortcut is a feature that improves user efficiency by allowing quick and precise question input. They also serve as a navigation tool, guiding users on how to effectively interact with the agent. In this article, you will learn how to use Coze shortcuts to create shortcuts and commands.


This content originally appeared on HackerNoon and was authored by Ileolami

Why should your users have to type long messages all the time when they can use shortcut buttons or Telegram commands to get responses from your chatbot?

\ Implementing this feature makes the user experience (UX) easier. In this article, you will learn how to use Coze shortcuts to create these shortcuts and commands.

What is a Shortcut?

A Coze shortcut is a feature that improves user efficiency by allowing quick and precise question input. They also serve as a navigation tool, guiding users on how to effectively interact with the agent. Learn more on shortcuts here.

Setting Shortcut button

  1. Go to your chatbot develop workspace

  2. Click on Shortcut

  3. Enter your Button details

    Button Name: The name of the button

    Shortcut name: The command name to invoke the shortcut. This is the same name you will add to your telegram bot to execute the message that corresponds to the command.

    Description: Short description of the command.

    Component: This is used for user options. This is used for selecting choices based on specific needs.

    Query content: The content to be sent when the user clicks the shortcut button.

  4. Click on Confirm

    You will see the button in your chatbot. To add more shortcuts to the chatbot, repeat the same process

  5. Click on Publish to sync the added shortcuts

Setting Up the Telegram Commands

  1. Go to Bot father

  2. Input /setcommands

  3. Select the bot you want to add the commands to

  4. Enter the list of commands(the shortcut name you earlier created)

    In this format

security_news - Get the latest security news

  1. Upon successful addition, you will see the list of commands in your bot.

To check, Click on Menu

![](https://cdn.hackernoon.com/images/h9zh5laZcuVhjnaK4lBLPxYH14f2-2024-11-04T16:11:48.619Z-giy7c3himj78llgaba0zlqow)      ![](https://cdn.hackernoon.com/images/h9zh5laZcuVhjnaK4lBLPxYH14f2-2024-11-04T16:11:48.492Z-m3cij4rpal5bgsij3f75v5ev)

Check out the live demo below 👇

https://youtu.be/DeXrKvXb2aw?embedable=true

Bonus

You can also use this shortcut for users to make choices e.g. You want users to get regular news feeds in specific language and specific language.

Follow the same process and add the components option

  1. Enter the component name

  2. Enter the component description

  3. Enter Component types such as TextUpload (for media), and Selector(to choose options)

    In the case of Selector, enter various options like this:

    For upload, select supported file formats

    \

:::info Congratulations 🥂, you’ve successfully made use of the shortcut. What other scenario can you use this feature? Let me know in the comment section

:::

\ Learn More on Coze and other Chatbots built on Coze


This content originally appeared on HackerNoon and was authored by Ileolami


Print Share Comment Cite Upload Translate Updates
APA

Ileolami | Sciencx (2024-11-04T16:11:49+00:00) How to Use Coze Shortcuts for Creating Buttons and Telegram Commands. Retrieved from https://www.scien.cx/2024/11/04/how-to-use-coze-shortcuts-for-creating-buttons-and-telegram-commands/

MLA
" » How to Use Coze Shortcuts for Creating Buttons and Telegram Commands." Ileolami | Sciencx - Monday November 4, 2024, https://www.scien.cx/2024/11/04/how-to-use-coze-shortcuts-for-creating-buttons-and-telegram-commands/
HARVARD
Ileolami | Sciencx Monday November 4, 2024 » How to Use Coze Shortcuts for Creating Buttons and Telegram Commands., viewed ,<https://www.scien.cx/2024/11/04/how-to-use-coze-shortcuts-for-creating-buttons-and-telegram-commands/>
VANCOUVER
Ileolami | Sciencx - » How to Use Coze Shortcuts for Creating Buttons and Telegram Commands. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2024/11/04/how-to-use-coze-shortcuts-for-creating-buttons-and-telegram-commands/
CHICAGO
" » How to Use Coze Shortcuts for Creating Buttons and Telegram Commands." Ileolami | Sciencx - Accessed . https://www.scien.cx/2024/11/04/how-to-use-coze-shortcuts-for-creating-buttons-and-telegram-commands/
IEEE
" » How to Use Coze Shortcuts for Creating Buttons and Telegram Commands." Ileolami | Sciencx [Online]. Available: https://www.scien.cx/2024/11/04/how-to-use-coze-shortcuts-for-creating-buttons-and-telegram-commands/. [Accessed: ]
rf:citation
» How to Use Coze Shortcuts for Creating Buttons and Telegram Commands | Ileolami | Sciencx | https://www.scien.cx/2024/11/04/how-to-use-coze-shortcuts-for-creating-buttons-and-telegram-commands/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.