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

How to send attachments to agents?

Written by Soham Amburle

Updated on July 26th, 2022

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

When a user has a conversation with the bot, not every time the bot would be able to answer the user's queries. In those escalation scenarios, the chat is handed over to an agent to help the user. 

Here, depending on the user's use case, they might have to share some files as attachments. For example, if the use case is related to some e-commerce operations, the user might have to share their ID in the form of an image, or PDF for completing the KYC. 

In such cases, the File Attachment icon comes into play, where the user can simply tap on it and share the relevant files in the conversation. The File Attachment icon resembles a paper clip. You can choose a file, or an image to add as an attachment. When you select one of these options, a window will open to allow you to navigate your hard drive and find the file(s) you want to attach to your message.

This icon will be available right beside the composer, as shown.

Delete

Note

The File Attachment icon will be available for the user only when the user is chatting with an agent.

Additionally, you can configure a setting for the Attachments icon using the HaptikInitSettings, which will let the Bot Builder configure which specific file type a user can send to the agent.

window.haptikInitSettings = {
...
'attachment-file-types': 'pdf, xls'
...
};

The different file types that we can restrict the users to are,

  • pdf
  • doc
  • xls
  • csv
  • image
Delete

Note: 

To restrict more than one file type, use a 'comma' separator as shown in the above example.

Apart from the above, you can also configure whether you want the file attachment icon to be visible or not. To do this, you can use the file-attachment-icon-visibility function.

window.haptikInitSettings = {
...
file-attachment-icon-visibility: "value_name"
...
};

You can use three types of values in the value_name field, as mentioned above:

  • only_agent (default - File attachment icon shown only when chat is in Agent chat mode)
  • always (File attachment icon shown all the time)
  • hidden (File attachment icon is never shown)
Delete

If null or undefined is set to file-attachment-icon-visibility, then too it will fall back to the default state.

Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • Enable Commerce+ on Haptik ChatBots
  • What to do when WhatsApp interactive elements are not working?
  • Step 2 - How to check the feedback collected on my bot?
  • How to do Conversation Design Review?
  • What is a Bot Persona? How to Create a Bot Persona

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