# Building a Pathway in ClearTalk

> Create a pathway, learn every node type, and build a simple flow.

Source: https://docs.cleartalk.ai/docs/tutorials/agents/create-pathway

Create a pathway, learn every node type, and build a simple flow.

<Video src="https://cleartalklive.nyc3.cdn.digitaloceanspaces.com/training-videos/create-pathway-video-b604ce98.mp4" poster="https://cleartalklive.nyc3.cdn.digitaloceanspaces.com/training-videos/create-pathway-poster-5ed14a74.jpg" title="Building a Pathway in ClearTalk" />

## Steps

<Steps>
  <Step>
    ### Pathways live with your agents

    A pathway is a visual map of a conversation — it decides what your agent says and does at every turn. You'll find pathways alongside your other agents, under My Agents.
  </Step>

  <Step>
    ### Create a pathway

    To make one, open the Create Agent menu and choose Pathway.
  </Step>

  <Step>
    ### Name it

    Give the pathway a clear name. We'll build an appointment booking flow. You can also generate a starting pathway from a prompt, but let's start blank.
  </Step>

  <Step>
    ### Open the builder

    Click Create pathway, and ClearTalk drops you straight into the visual builder.
  </Step>

  <Step>
    ### The canvas

    This is the pathway builder. The canvas in the middle is your conversation, laid out as connected nodes. Each node is one step the agent takes.
  </Step>

  <Step>
    ### The Node library

    On the right is the Node library. Click any node here and it drops onto the canvas. Let's go through what each one does.
  </Step>

  <Step>
    ### Default

    The Default node is the workhorse. The agent either says a fixed line, or generates a reply from a prompt — then moves on.
  </Step>

  <Step>
    ### Knowledge Base

    Knowledge Base answers the caller using a connected knowledge base, quoting your own content.
  </Step>

  <Step>
    ### Vector Knowledge Base

    Vector Knowledge Base does the same, but searches by meaning to pull the most relevant passages.
  </Step>

  <Step>
    ### Webhook

    A Webhook node calls an external API mid-conversation and branches on what comes back.
  </Step>

  <Step>
    ### Custom Tool

    Custom Tool invokes one of your registered tools — like Slack, your CRM, or your own system.
  </Step>

  <Step>
    ### SMS

    The SMS node sends a text message to the caller in the middle of the call.
  </Step>

  <Step>
    ### Scheduling

    Scheduling books an appointment right inside the conversation, using your calendar's open slots.
  </Step>

  <Step>
    ### Custom Code

    Custom Code runs your own code for anything the built-in nodes don't cover.
  </Step>

  <Step>
    ### Transfer Call

    Transfer Call forwards the caller to a real person — either a cold transfer, or a warm one with a hand-off.
  </Step>

  <Step>
    ### Press Button

    Press Button presses a phone keypad tone — useful for navigating automated phone menus.
  </Step>

  <Step>
    ### Document Capture

    Document Capture, for chat conversations, asks the visitor to upload a file — like an ID or an insurance card — and saves a link to it for later steps.
  </Step>

  <Step>
    ### End Call

    End Call plays one last message and hangs up.
  </Step>

  <Step>
    ### Route

    Route branches to different nodes based on what the caller said or on variables you've extracted.
  </Step>

  <Step>
    ### Wait

    Wait pauses the flow until the caller responds before moving on.
  </Step>

  <Step>
    ### Transfer Pathway

    And Transfer Pathway hands the conversation off to a completely different pathway.
  </Step>

  <Step>
    ### Start with the Start node

    A new pathway starts with a Start node — the first thing the agent does on every call. Double-click any node to open its settings.
  </Step>

  <Step>
    ### Name the node

    Give the node a clear name so the flow is easy to read. We'll call this one Greeting.
  </Step>

  <Step>
    ### What the agent says

    Then write what the agent should say. This greeting is the first thing every caller will hear.
  </Step>

  <Step>
    ### Add another step

    To grow the flow, close the settings and click a node in the library — it drops onto the canvas as the next step.
  </Step>

  <Step>
    ### Connect the nodes

    Connect two nodes by dragging from the dot at the bottom of one node to the top of the next. That line is the path the conversation follows.
  </Step>

  <Step>
    ### Save your work

    Finally, hit Save. When you're happy with the flow, Promote pushes it live to production. And that's a pathway, from an empty canvas to a working conversation.
  </Step>
</Steps>
