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 implement Ticketing on Salesforce?

Written by Medha Anand

Updated on July 18th, 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

In order to implement Ticketing on Salesforce, you need to move to your Haptik bot, and follow the steps as mentioned below.

Create case(ticket) in Salesforce

Every time the bot hits your Salesforce app, a new case gets generated.

To generate a new case during the bot and user conversation, you should use the CURL request below. Add the python request format of this CURL at any point in the user journey, where you want to have this ticketing functionality. You will have to create a Code Step and add the following CURL to it. 

curl --location --request POST '<BASE_URL>/third_party_integrations/v1/salesforce/create/' \
--header 'username: “put the email id using which you login to SF”
--header 'clientid: “put the consumer key here”
--header 'privatekey: “put the base64 encoded host.key file content here”
--header 'Content-Type: application/json' \
--data-raw '{
      "Description": “value”,
      "Subject": “value”,
      "Type": “value”,
      "Reason": "value",
      "SuppliedEmail": "value",
      "SuppliedName": "value",
      "SuppliedPhone": "value",
      "Priority": "value"
    }'
Delete

BASE_URL will be

Staging - https://staging-messenger.haptikapi.com
Production - https://fb-messenger.haptikapi.com

Now, in order to retrieve the details of the cases, that have been created, the URL will change to <BASE_URL>/third_party_integrations/v1/salesforce/get_data/, and by using the GET method, pass below parameters in the payload -

{
   "object_type": "Case",
   "object_id": "id value"
}

Below is the CURL command to get the Case details from Salesforce - 

curl --location --request GET 'https://<BASE_URL>/third_party_integrations/v1/salesforce/get_data/?object_type=Case&object_id=<id value>'
--header 'username: <Username>' \
--header 'clientid: <Client Id>' \
--header 'privatekey: <Private Key>'

The response will contain various case attributes and values, as shown.

This is how you implement ticketing on Salesforce.

Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • How to Configure Ticketing on Salesforce?

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