Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Go to Haptik Website
  • Contact Us
  • Home
  • Bot Building
  • Bot Responses

How to Upload Bot Responses in Bulk

Written by Hitesh Singla

Updated on January 27th, 2023

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Getting Started
    Build Deploy Analyse Manage Account Bot Deactivation
  • Bot Building
    Essentials Smart Skills Steps User Messages Bot Responses Entities Connections Customisations User feedback collection Testing Whatsapp Bots NLU Bot Maintenance
  • Smart Agent Chat
    Set up Admin Settings MyChats Section (Agent Inbox) Live Traffic Section Teams Section Archives Section Analytics Plans on Smart Agent Chat
  • Conversation Design
    Design Basics Design Guides Designing for Platforms Designing WhatsApp Bots
  • Developer Guides
    Code Step Integration Static Step Integration Shopify Integration SETU Integration Exotel Integration CIBIL integration Freshdesk KMS Integration PayU Integration Zendesk Guide Integration Twilio Integration Razorpay Integration LeadSquared Integration USU(Unymira) Integration Helo(VivaConnect) Integration Salesforce KMS Integration Stripe Integration PayPal Integration CleverTap Integration Fynd Integration HubSpot Integration Magento Integration WooCommerce Integration Microsoft Dynamics 365 Integration
  • Deployment
    Web SDK WhatsApp Facebook Instagram Sunshine Conversation LINE Google Business Messages Telegram MS Teams Bot as an API iOS SDK Android SDK
  • External Agent Tool Setup
    Zendesk Chat Salesforce Service Cloud Freshchat Zoho NICE CXOne Gorgias
  • Analytics & Reporting
    Intelligent Analytics
  • Notifications
    SMS Notifications Success Measurement
  • Commerce Plus
    Catalog Integration Bot Building Guide Channel Deployments Unified ML Pipeline Documentation
  • Troubleshooting Guides
    Error Messages FAQs
  • Release Notes
+ More

Table of Contents

Overview Accessing Upload Language Bot Responses Download Bot Responses as TSV Upload Bot Responses from TSV TSV File Format Info Guide to Error Messages Warning

Overview

Earlier, to add bot responses for a new language, we needed to go to each and every step and add the language specific bot response one at a time. This took a significant amount of time. But we have a solution now.

We are giving more power to bot builders via a predefined TSV file. This TSV file will be used to bulk add/edit bot responses across languages, and across all the nodes of the bot in a single go. 

Accessing Upload Language Bot Responses

On your bot's graph screen, click the three dots aside the Publish button. You will see the Upload Language Bot Responses option as below.

A pop-up window will appear as below displaying further steps to be followed.

Download Bot Responses as TSV

Click on Download Bot Responses TSV button as shown above in step 1. This will send an email containing the download link of the TSV file to the configured email ID.

This TSV file will contain the bot responses of all the steps across the languages that have been enabled on this bot. For newly added languages that have been added to the bot where no bot responses have been added as of yet, the language column will be empty.

Upload Bot Responses from TSV

After downloading the TSV file containing the bot responses, update the bot responses in the downloaded TSV file. Once this is done, the TSV file is ready to be uploaded into the bot.

We will again click the Upload Language Bot Responses option to open the pop-up containing Upload Bot Responses TSV button as shown above in step 3. Click that button and choose the updated TSV file. Your bulk bot responses will now be saved to your bot.

TSV File Format

  1. Step ID: Unique step ID for the step
  2. Step Name: Unique name of the step
  3. Response ID: This ID corresponds to the responses stored in English and unique for every Bot Says Type.
  4. Bot Says Type: Type of bot say based on linked entities
  5. Property: Identification parameter for quick replies and other customizations
  6. Languages (English, Nepali, or any other language): Language of bot responses
Delete

Info

Do not add/remove any of the columns or edit the values in any other columns apart from the language responses. Also, do not add, remove or change the order of the rows.

Guide to Error Messages

While uploading your TSV file, you may see the following errors.

Actual Error Message

Meaning of that Error Message

The headers

Mismatched Headers! It seems one or more headers of the uploaded TSV do not match with the originally downloaded TSV.

Node name does not exist

Could not find the Step with Name: "{{node_name}}"

Response ID not exist

Could not find the bot response mentioned on row number "{{row no}}" of the TSV for this specific Step in the "{{language_name}}" language.

Response text is empty for {response_id}, {node_name}'

The bot response has been left BLANK for the "{{language name}}" language on row number "{{row no}}" of the TSV.

Property mismatch in {response_id}, {node_name}'

The property "{{property}}" on row number "{{row no}}" of the TSV could not be found in the bot response properties of this step.

While downloading, one may see the following errors.

Actual Error Message

Meaning of that Error Message

Message if no data in the sheet

The CSV generation activity was canceled since there are no "Active Steps" in this bot.

mismatch HSL properties’ error

The entire step was skipped since the Bot-Response element(s) used for the "{{language}}" language are different from their corresponding "English" Bot-Response element(s).

skip raw/json HSL

A "Raw Text/JSON" bot response on this step has been ignored from the "{{language}}" Language bot responses.

Global Entity

The prompt bot responses of this "Global Entity" have been skipped since they are shared across multiple bots.

Delete

Warning

This feature is still in Beta mode. For more information, contact your Haptik SPOC.

Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • What is Bot Response?
  • What are Chat Elements?
  • What are the types of responses?
  • What is the structure of a bot response?

Platform

  • Conversation Studio
  • Smart Skills
  • Advanced NLU
  • Intelligent Analytics
  • Omnichannel
  • Smart Agent Chat
  • Enterprise Security
  • Integrations

Solutions

  • Conversational Commerce
  • Lead Generation
  • Customer Care
  • WhatsApp
  • Conversational IVR
  • Google Business Messages

Industries

  • Retail/ E-Commerce
  • Financial Services
  • Travel & Hospitality
  • Telecom

Knowledge

  • ROI Calculator
  • Reports & Research
  • Case Studies
  • Webinars
  • ISAT
  • Tech Blog
  • Business Blog
  • Resources
  • Haptik v/s Yellow
  • Haptik v/s Liveperson
  • Haptik v/s IBM Watson
  • Haptik v/s Verloop
  • Conversations on AI

Company

  • Why Haptik
  • About Us
  • Careers
  • News & Media
  • Awards & Recognition
  • Contact Us
  • Partnerships
  • Investor Relations

Subscribe

Sign up to recieve the latest updates

Find us on

  • Twitter-footer
  • Linkedin-footer
  • YT-footer
  • Insta-footer
  • G2-footer
  • Facebook-footer

Knowledge Base Software powered by Helpjuice

Copyright © jio Haptik Technology Limited 2021 | Data Security & Privacy Policy | GDPR

North America | Asia Pacific | Africa | enterprise@haptik.ai

Definition by Author

0
0