# Membuat flow

Membuat flow baru dengan nama dan akhiran (Otherwise).

## Sebelum mulai

* Buka halaman [Conversation Flow](/help/chatbot/conversation-flow).
* Flow baru bawaannya **Active**. Flow aktif yang dibuat lebih awal akan menutupi flow yang lebih baru.

## Langkah

<Steps>
  <Step>
    Klik **Create a flow** (bila belum ada flow) atau ikon **New flow** (+) di kepala kolom **Flows**. Panel **New flow** ("Named set of steps with a catch-all ending") terbuka.

    ![Ikon New flow di kolom Flows](/help/chatbot/conversation-flow/03-new-flow-button.png)
  </Step>

  <Step>
    Isi **Name** (contoh isian: "Complaint handling"). **Description** bersifat opsional ("Optional note for your team.").

    ![Kolom Name dan Description pada panel New flow](/help/chatbot/conversation-flow/04-flow-name.png)
  </Step>

  <Step>
    Atur saklar status: **Active** ("The engine evaluates this flow.") atau **Paused** ("The engine skips this flow entirely.").

    ![Saklar Active/Paused di panel New flow](/help/chatbot/conversation-flow/05-flow-active-switch.png)
  </Step>

  <Step>
    Di bagian **If no step matches**, pilih aksi akhiran. Pilihannya: **Move to a division**, **Add a label**, **Remove a label**, **Answer from specific knowledge**, **Ask a follow-up question**, **Reply automatically**, **Draft a reply for an operator**, **Hand off to a person**, **Move to a stage**, **Apply a communication strategy**. Beberapa aksi meminta isian tambahan (division, label, entri pengetahuan, stage, pertanyaan, atau bagian strategi). Setiap flow wajib punya akhiran ini, dan akhiran selalu berjalan bila tidak ada langkah yang cocok.

    ![Pilihan aksi pada If no step matches](/help/chatbot/conversation-flow/06-flow-fallback.png)
  </Step>

  <Step>
    Klik **Save flow**.

    ![Tombol Save flow](/help/chatbot/conversation-flow/07-save-flow.png)
  </Step>
</Steps>

## Hasilnya

Panel menutup, muncul notifikasi **Flow created**, dan flow baru terpilih di kolom **Flows**. Flow baru belum punya langkah: "No steps yet. Every conversation goes straight to the ending below."

## Masalah umum

* **Give the flow a name.** — **Name** kosong.
* **Fallback:** diikuti pesan, misalnya "choose the division to move the conversation to." — isian aksi akhiran belum lengkap. Pesan lain yang mungkin: "choose a label.", "choose at least one knowledge entry.", "write the question to send.", "choose the stage to move the conversation to.", "fill in at least one part of the strategy.", "choose what the bot should do."
* Bila gagal, muncul notifikasi berisi pesan dari server, atau teks bawaan **Failed to create flow** bila server tidak memberi pesan.
