Skip to content
  • Chat Experience
  • Technology
  • Staffing
  • Developers
  • Pricing
  • Insights
  • English
    • Suomi
    • Deutsch
    • Svenska
    • Tiếng Việt

How to Write Chatdown Markup

Contact us to get your chatbot built

Chatdown is an extension of the Markdown language for generating mock chatbot transcripts. Here's a simple example of a .chat source file:

users=Tester
bot=SuperBot

bot: Welcome to SuperBot!
user: Hello, SuperBot! What can you do?
bot: I can help with many problems...

The transcript will replace "user" and "bot" with "Tester" and "SuperBot" respectively. A .chat source file consists of a header, where you define the aliases, and the conversation.

The Chatdown software is an open source command line application, created at Microsoft. It requires Node.js. The documentation on its website is the best place to learn how to use it. You can use just the features described there, or you can add the full power of Markdown to format the output.

Microsoft's Bot Framework Emulator runs the transcript as a real-time conversation.

You can create a .chat file with any plain text editor. You then convert it to a transcript by running the Chatdown command:

chatdown example.chat

The output goes to standard output, which you can capture to a file. Alternatively, you can specify an output directory, letting you process multiple files in one command:

chatdown *.chat -o ./chat_transcripts

Special features

Chatdown supports a number of features to enhance the transcript. You can add "[Delay=500]" to indicate a delay in milliseconds, or "[Typing]" to indicate the user is typing. The brackets are part of the directive. You can show users being added to or leaving the conversation with a directive such as "[ConversationUpdate=MembersAdded=Dave]".

A chat file can use card templates. They allow incorporating an image, audio, video, or other kind of card in the transcript. The card's content can be in a separate file or at a URL.

The chat file can incorporate attachments. The attachment directive specifies a file or URL, and optionally a content type. You can use either a MIME type or one of the defined shortcuts.

[Attachment=images/sample.jpg "image/jpeg"]

Creating transcripts with Chatdown is a quick way to demonstrate how a chatbot is going to work. It lets you create as many scenarios as necessary.

More about chatbots

Customer Journey, Touchpoints and Chatbots When Booking Services

Customers generally tend to use online searches to book services. This may include anything from holidays, events, appointments, and courses to personal services. In the

Read More »

Why Chatbot is Necessary for Businesses and When Do We Need Them?

What are Chatbots? Simply put, chatbots are computer programs or apps that can have or at least mimic a real conversation. They are used in

Read More »

How to Automate Facebook Customer Support on Your Facebook Page?

Having a Facebook page for your online business not only helps you contact customers easily. It also gives them fast access to your products and

Read More »

What is a chatbot? – Introduction to chatbots 2019

Communication technology is progressing very fast. And today, most people prefer to connect through either text messages or messaging applications. To make life more convenient,

Read More »

3 Ways to Use Chatbots in the Legal Industry

1) Qualify Leads with Multiple-Choice Questions Chatbots are fantastic at qualifying leads because they greet website visitors with a friendly question. The best way to

Read More »

Chatbots for Real Estate Agents

Real estate agents can expand their client base with the help of chatbots. They don’t replace personal communication with active clients and buyers, but they’re

Read More »
Linkedin Twitter Instagram

Lue lisää chatboteista

  • Palvelukokemus
  • Teknologia
  • Hinnoittelu
  • Yhteystiedot
  • Chatbotit -blogi
  • Chatbot -työpaikkoja
  • Chatbotit eri toimialoilla
  • Chatbot-caset

Suosituimmat

  • Chatbot suomeksi
  • Botti FAQ
  • Ohjelmistorobotiikka ja chatbotit
  • Suomenkielinen chatbot
  • Chattbottien tietoturva
  • Chatbot vs ihminen
  • Mikä se chattibotti on?
  • Chatbottien teknologia