> ## Documentation Index
> Fetch the complete documentation index at: https://docs.callers.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Campaign Script

> This guide provides an overview of how to create a versatile and effective campaign script within the Callers platform.Tailor the conversation flow to meet the unique needs of your campaign, whether it's for inbound or outbound calls.

### Understanding the Script Creation Process

Creating a campaign script involves setting up a series of decision points and responses that guide the conversation with your clients.

<Frame caption="Example Flowchart for a 'Speed to Lead' Campaign of Callers">
  <img src="https://mintcdn.com/voxiaai/n_GBKcCTbLOYInOl/images/documentation/build-your-campaign/speed-to-lead-campaign.png?fit=max&auto=format&n=n_GBKcCTbLOYInOl&q=85&s=dea0a6f6cdd0271fe6a0fa0f3497d535" alt="Initiate Campaign" style={{borderRadius: '10px'}} width="2990" height="1666" data-path="images/documentation/build-your-campaign/speed-to-lead-campaign.png" />
</Frame>

### Steps to Create Your Script

**Initiate with the Intro Script**

* **Inbound Calls**: As a suggestion, you might begin your script with an introductory script node where you confirm the client's identity by asking for their name and inquiring about their well-being. However, feel free to adjust this approach based on your specific needs.
* **Outbound Calls**: As a suggestion, start by confirming the client’s identity and then proceed with the planned interaction. This is just a guideline, and you can tailor it as required.

<Frame caption="">
  <img src="https://mintcdn.com/voxiaai/n_GBKcCTbLOYInOl/images/documentation/build-your-campaign/intro-script.png?fit=max&auto=format&n=n_GBKcCTbLOYInOl&q=85&s=24375350e4dafb6b6913da4b4d1b9de7" alt="" style={{borderRadius: '10px'}} width="2546" height="1188" data-path="images/documentation/build-your-campaign/intro-script.png" />
</Frame>

#### **Branching the Conversation**

* After the initial engagement, introduce a question to guide the conversation. Based on the client's response, you can expand the script:

  * Click the `+` button next to the current node.
  * Select `Add Subflow` to create a new branch.
  * In the new node, label it with a title that represents the client’s latest response which guides the agent to this node. Alternatively, you can simply give a title to this node based on its content.

<Frame caption="">
  <img src="https://mintcdn.com/voxiaai/n_GBKcCTbLOYInOl/images/documentation/build-your-campaign/branching-dropdown.png?fit=max&auto=format&n=n_GBKcCTbLOYInOl&q=85&s=b80c9189bb847324604e158c26c734ad" alt="" style={{borderRadius: '10px'}} width="2954" height="1454" data-path="images/documentation/build-your-campaign/branching-dropdown.png" />
</Frame>

<Tip>
  **Note**: If no decision split is required, you can continue the script in the same node.
</Tip>

### Managing Subflows, Nodes and Steps

* To modify your script effectively, you can move nodes, delete unnecessary subflows, or adjust branching logic.
* Moving or Deleting **Steps**:
  * Position your cursor over the Subflow, click on the `•••` icon to the right of the subflow name.

<Frame caption="You can Move, Delete or Delete with subflows for each Step">
  <img src="https://mintcdn.com/voxiaai/n_GBKcCTbLOYInOl/images/documentation/build-your-campaign/node-options.png?fit=max&auto=format&n=n_GBKcCTbLOYInOl&q=85&s=fe553e7d0e83f91f11e1ecdee7132b2a" alt="You can Move, Delete or Delete with subflows for each Step" style={{borderRadius: '10px'}} width="2964" height="1360" data-path="images/documentation/build-your-campaign/node-options.png" />
</Frame>

* To move a step, press move and select the step after which you will move it by clicking the `+` button.

<Frame caption="Moving a Step will also move the subflows associated">
  <img src="https://mintcdn.com/voxiaai/n_GBKcCTbLOYInOl/images/documentation/build-your-campaign/move-nodes.png?fit=max&auto=format&n=n_GBKcCTbLOYInOl&q=85&s=e1b64e05d84eccc712d338a1a2e43492" alt="Moving a Step will also move the subflows associated" style={{borderRadius: '10px'}} width="2968" height="1274" data-path="images/documentation/build-your-campaign/move-nodes.png" />
</Frame>

#### **Customize Node Content**

* Customize the dialogue and the questions in each node according to the campaign goals. Refer to the [Customize Steps](customizing-steps.md) page for more details.

<Info>
  **Note**: Each node must contain at least one step.
</Info>

#### **Directing Flow Between Nodes**

* To lead the script from a subflow back to a specific node or to continue the script from a particular point:
  * Click the `+` button next to the node from which you want to continue.
  * Select `Go to Block`.
  * Choose the destination node. Optionally, you can set a title to specify if the script should lead to this node based on client’s latest response.

<Frame caption="">
  <img src="https://mintcdn.com/voxiaai/n_GBKcCTbLOYInOl/images/documentation/build-your-campaign/go-to-block.png?fit=max&auto=format&n=n_GBKcCTbLOYInOl&q=85&s=655f80ac141f35a57d76bae3eecf0fe0" alt="" style={{borderRadius: '10px'}} width="2980" height="992" data-path="images/documentation/build-your-campaign/go-to-block.png" />
</Frame>

<Info>
  **Note:** You can add as many subflows as needed to accommodate various branches of the conversation.
</Info>

### **Generating Interest Criteria**

After completing the script, click the `Generate Interest Criteria` section located within the Post-Call button at the top right corner. To define the conditions under which a call can be considered **Interested**.

<Frame caption="Interest Criteria screen">
  <img src="https://mintcdn.com/voxiaai/n_GBKcCTbLOYInOl/images/documentation/build-your-campaign/interest-criteria-window.png?fit=max&auto=format&n=n_GBKcCTbLOYInOl&q=85&s=4f4e9ad36959631006144ba264def97a" alt="Interest Criteria screen" style={{borderRadius: '10px'}} width="2974" height="1648" data-path="images/documentation/build-your-campaign/interest-criteria-window.png" />
</Frame>

### **Post-Call Analysis**

After completing the script, your Key Questions will be displayed in the post-call analysis section located within the Post-Call button at the top right corner. This section shows which step each key question is linked to and allows you to edit or delete them. Clicking the `+ Add`  button lets you define additional information to be collected during the call, which will appear in the call summary along with other key questions.

<Frame caption="Post-Call Analysis screen">
  <img src="https://mintcdn.com/voxiaai/n_GBKcCTbLOYInOl/images/documentation/build-your-campaign/post-call-analysis-window.png?fit=max&auto=format&n=n_GBKcCTbLOYInOl&q=85&s=438264966f032f6e98ed72a45da83425" alt="Post-Call Analysis screen" style={{borderRadius: '10px'}} width="2982" height="1662" data-path="images/documentation/build-your-campaign/post-call-analysis-window.png" />
</Frame>

### **Validating the Flow**

* Ensure all node links are correctly made to prevent any dead ends or loops in the conversation.
* Preview and test the campaign. Conduct test calls to check the flow and make necessary adjustments.

<Frame caption="You will be shown a list of your test calls for each campaign.">
  <img src="https://mintcdn.com/voxiaai/2__iP2owtFnm9VIW/images/documentation/using-callers/initiate-test-call.png?fit=max&auto=format&n=2__iP2owtFnm9VIW&q=85&s=3a02aa0e221ecf35528a134d0dd096e9" alt="initiate test call" style={{borderRadius: '10px'}} width="2972" height="1538" data-path="images/documentation/using-callers/initiate-test-call.png" />
</Frame>

* Test call history will be saved and shown next time you press the `Test Call` button.

<Frame caption="Enter contact information before your test call.">
  <img src="https://mintcdn.com/voxiaai/2__iP2owtFnm9VIW/images/documentation/using-callers/start-calling.png?fit=max&auto=format&n=2__iP2owtFnm9VIW&q=85&s=7af799d13ea4afbc01ea1eb1b467a3a4" alt="start calling" style={{borderRadius: '10px'}} width="2980" height="1650" data-path="images/documentation/using-callers/start-calling.png" />
</Frame>
