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
  • Developer Guides
  • CIBIL integration

How to Set Up CIBIL Integration on Haptik Bot

Written by Soham Amburle

Updated on April 19th, 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

What is CIBIL?Prerequisites for using CIBIL integrationHow to set up?How does the CIBIL integration work?

What is CIBIL?

CIBIL stands for Credit Information Bureau (India) Limited, and it is a credit bureau or credit information company, responsible for maintaining the records of all the credit-related activities of companies as well as individuals, including credit cards and loans. It helps us to fetch our credit scores. 

CIBIL collects monthly credit reports from banks, lenders, various financial institutions, and other sources. It then analyzes the data and compiles a credit history report with a credit score against each record.

Bots that provide solutions for banks and financial institutions might require access to credit reports to facilitate loan applications. These ready-to-use credit reports created by CIBIL will help in reducing the time taken for handling loan applications. 

Bots created on Haptik can facilitate easy access to these credit reports as Haptik has partnered with CIBIL. Haptik has created a ready-to-use Smart Skill (Credit Score Smart Skill) to fetch these credit reports.

Apart from providing these Credit Reports, there are a few more key features that are supported on the CIBIL Integration with Haptik. You can read more about it, here.

Prerequisites for using CIBIL integration

  • CSR Token
  • Whitelisted IPs
  • P12 Certificate
  • SiteName, AccountName, AccountCode, ProductConfigurationID, and UAT URL

How to set up?

You can follow the below steps to set up CIBIL integration on your bot using which users can fetch CIBIL's credit scores and reports on the bot.

Delete

You will have to contact your Haptik SPOC, in order to connect with the CIBIL team, which will help you in generating a CSR token, whitelisting your IPs, after which you will have to generate a P12 Certificate, and lastly the CIBIL team will send you the credentials mentioned in Step 4.

Step 1: You would need to generate a CSR token for your bot with the help of CIBIL team. You can learn more about it, here.

Step 2: Once you have generated a CSR token, you will have to get your IPs whitelisted by the CIBIL team. You will have to send these IPs over email and this process will take up to 8-10 days.

Step 3: Once the IPs are whitelisted, the CIBIL team will send a mail along with the steps for creating a P12 Certificate, and the URL that you can use for calling the APIs. You can also follow the steps mentioned in this document for generating the P12 Certificate.

Step 4: Next, you will require SiteName, AccountName, AccountCode, ProductConfigurationID, and UAT URL. All of these will be provided by the CIBIL team, and they will be Business-specific.

Step 5: You can create a bot on Haptik and add the Credit Score Smart Skill to it. The name of the Smart Skill is cibil_loan_recommendation. Read here to learn how to build a bot on Haptik.

Step 6: After adding the Smart Skill to your bot, you will have to make certain updates on one of the Code Steps of the Smart Skill. Click on the More option available on the top-right corner and then choose Variables. You can add CIBIL credentials under these Variables.

The following is the list of CIBIL credentials to be added as variables.

  • ACCOUNT_CODE           
  • ACCOUNT_NAME
  • P_PASSWORD: This is the p12password generated at the time of the P12 Certificate.
  • PRODUCT_CONFIGURATION_ID
  • SITE_NAME

Except for P_PASSWORD, all details will be provided by the CIBIL team.

Step 7: Next, you navigate to the Code Step “get cibil report and score”, and on lines 8, 10, and 12, change the following.

  • p12data
  • assetURL (UAT URL provided by CIBIL Team)
  • cibil_url (Provided by CIBIL Team)

Step 8: Next, you can navigate to Code Step “verify OTP”, and on lines 8 and 10, change the following -

  • p12data
  • cibil_url(Provided by CIBIL Team)

Once you have completed all the above steps and made all required changes, you are good to go. You will be able to use this Smart Skill on your bot for fetching the CIBIL score and CIBIL report.

Delete

p12data: You will have to share the data of the P12 certificate in base64 encoded format. You can use either this link or can use the base64 library of Python and do it.  

How does the CIBIL integration work?

When you have successfully added this Smart Skill to your bot, you can test this with the users. When the user comes on the bot, the bot will initially ask the user to fill up a form with appropriate user details, as shown in the image below.

Once the user has added the required details, the bot will straightaway display the CIBIL score if the user is an existing user. On the other hand, if the user is new on the bot, the bot will then ask the user for OTP verification, after which, if the OTP entered by the user is correct, the bot will display the CIBIL score and report. 

After fetching the CIBIL score and report, the user can then choose to apply for a loan, or get the CIBIL score and report emailed to their email id by selecting an appropriate option presented by the bot. 

Now, as discussed above, the bot will ask for user details from the user. As a Business, you might not need all these 5 details from the users, as you already have some of the details with you. That is when the get_details function can be used, where you can remove the entity fields that you do not require in the form. 

To make updates in the fields which are being asked from the user, you can change the get_details function on the Code Step "Get cibil report and score".

Function
Change

def get_detaills(entities) 
line 329

Step Name: Get cibil report and score.

Request body Sample:

{
   "phone_number": "99xxxxxxxx",
   "email_id": "ashuxxxxx@haptik.co",
   "verification_id": "ACDPN6783F"
}

Response body Sample:

{
   "forename": "PRASHANT",
   "surname": "NIGAM",
   "DOB": "1978-07-21",
   "gender": "Male",
   "address": "FATEHPUR",
   "state_code": "09",
   "pincode": "212666",
   "client-key": "JioHaptik"
}

You should read this article to learn about the working of the entire Smart Skill.

Once all these changes are made, feel free to test your bot and if everything is working fine, you are ready to take your bot live.

Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • How Does "cibil_loan_recommendation" Smart Skill Work
  • How to Generate the CSR Token
  • How to Generate P12 Certificate for CIBIL

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