Genesys Cloud - Main

 View Only

Sign Up

  Thread closed by the administrator, not accepting new replies.
  • 1.  Data Action for ServiceNow integration

    Posted 06-28-2023 14:52
    No replies, thread closed.

    Hi,

    Does anyone have experience with connection to the ServiceNow (ITSM) for getting/sending data from the IVR flow?

    Maybe exist any "best practice" document?


    #ArchitectureandDesign
    #Implementation
    #Integrations
    #Unsure/Other

    ------------------------------
    Best regards,

    Yvgeni Liberman
    ITNAV-Pro Ltd.
    ------------------------------


  • 2.  RE: Data Action for ServiceNow integration

    Posted 06-29-2023 00:49
    No replies, thread closed.

    Yvgeni,  Long time no see your post!

    You can always use attributes in Architect to then display information in a script, but I am not sure how well Service Now allows for information.  I would suggest you build a string of the actions in Architect like menu selections or milestones and then send that to Service Now as the notes of the conversation or have Service Now retrieve that when you pop the record.  Either way would allow you to see what went on in Architect before reaching the agent. 



    ------------------------------
    Robert Wakefield-Carl
    ttec Digital
    Sr. Director - Innovation Architects
    Robert.WC@ttecdigital.com
    https://www.ttecDigital.com
    https://RobertWC.Blogspot.com
    ------------------------------



  • 3.  RE: Data Action for ServiceNow integration

    Posted 06-29-2023 02:12
    No replies, thread closed.

    Hello,

    ServiceNow is our "main CRM tool".

    The best way to interact with SN from GC is to use webservices within SN and call them from data actions.

    By doing that we are able to get informations on users, tickets, request... and update all these objects.



    ------------------------------
    Florence Lionel
    Helpline SAS
    ------------------------------



  • 4.  RE: Data Action for ServiceNow integration

    Posted 06-29-2023 05:25
    No replies, thread closed.

    Dear Florence,

    Thank You for Your answer, if You can, send me, please, link to the documentation about this webservices 



    ------------------------------
    Best regards,

    Yvgeni Liberman
    ITNAV-Pro Ltd.
    ------------------------------



  • 5.  RE: Data Action for ServiceNow integration

    Posted 06-29-2023 02:26
    No replies, thread closed.

    Hi Yvgeni, we already have data actions running from the cloud consuming ServiceNow. In our flows, we provide options for customers to access their cases. We have tried using both CSM and ITSM for this purpose. Cloud data actions make everything very easy, while in ServiceNow, we utilize SCRIPTED REST APIs with ServiceNow GlideRecord code. Although I haven't found a comprehensive best practices document for this kind of integrations between the two platforms yet, reading the documentation of both platforms should suffice.



    ------------------------------
    Marco Galindo
    SRL Soluciones e Implementaciones, S.A. de C.V.
    ------------------------------



  • 6.  RE: Data Action for ServiceNow integration

    Posted 06-29-2023 04:16
    No replies, thread closed.

    Hi 

    There are free examples on the appfoundry https://appfoundry.genesys.com/filter/genesyscloud/listing/827a2f4d-9056-486c-b854-5249c1211553.

    These should give you a starting idea,

    We have a number of integrations with ServiceNow, generally standard OAUTH 2.0 security. ServiceNow is API rich so you should be able to query or post most things.



    ------------------------------
    Richard Chandler
    Connect
    ------------------------------



  • 7.  RE: Data Action for ServiceNow integration

    Posted 07-02-2023 14:12
    No replies, thread closed.

    Richard,

    Many thanks for Your information, it will help us a lot.



    ------------------------------
    Best regards,

    Yvgeni Liberman
    ITNAV-Pro Ltd.
    ------------------------------



  • 8.  RE: Data Action for ServiceNow integration

    Posted 06-29-2023 05:22
    No replies, thread closed.

    Dear Marco,
    Many thanks for Your information.

    Some additional question, from where You got the information about "SCRIPTED REST APIs", does it "built in" ServiceNow API, or somebody from ServiceNow or their integrators created the specific WEB Services for You?

    Maybe You can send me some examples (exports to JSON) of the Data actions that You are using?



    ------------------------------
    Best regards,

    Yvgeni Liberman
    ITNAV-Pro Ltd.
    ------------------------------



  • 9.  RE: Data Action for ServiceNow integration

    Posted 06-30-2023 01:58
    No replies, thread closed.

    Of course heres a custom action

    {
      "name": "SN Get Case - Exported 2023-06-29 @ 23:47",
      "integrationType": "custom-rest-actions",
      "actionType": "custom",
      "config": {
        "request": {
          "requestUrlTemplate": "https://your-servicenow-instance.service-now.com/api/srlsi/Case?caseNumber=${input.caseNumber}",
          "requestType": "GET",
          "headers": {
            "Authorization": "Your Bearer Token"
          },
          "requestTemplate": "${input.rawRequest}"
        },
        "response": {
          "translationMap": {
            "estatus": "$.result[0].estatus",
            "next_step": "$.result[0].next_step",
            "updated": "$.result[0].updated",
            "assigned_to": "$.result[0].assigned_to"
          },
          "translationMapDefaults": {},
          "successTemplate": "{\"next_step\": ${next_step},\"assigned_to\": ${assigned_to}, \"updated\": ${updated}, \"estatus\": ${estatus}}"
        }
      },
      "contract": {
        "input": {
          "inputSchema": {
            "type": "object",
            "properties": {
              "caseNumber": {
                "type": "string"
              }
            },
            "additionalProperties": true
          }
        },
        "output": {
          "successSchema": {
            "type": "object",
            "properties": {
              "next_step": {
                "type": "string"
              },
              "assigned_to": {
                "type": "string"
              },
              "updated": {
                "type": "string"
              },
              "estatus": {
                "type": "string"
              }
            },
            "additionalProperties": true
          }
        }
      },
      "secure": true
    }
    navigate to this page within your servicenow instance
    https://your-servicenow-instance.service-now.com/$restapi.do
    And explore the prebuild apis ready to consume

    and heres a scripted rest api documentation from servicenow if you want something more advance.
    https://docs.servicenow.com/bundle/rome-application-development/page/integrate/custom-web-services/concept/c_CustomWebServices.html
    I recommend you to create a free servicenow developer instance here
    https://developer.servicenow.com/dev.do#!/home
    So you can destroy everything in a safe environment!


    ------------------------------
    Marco Galindo
    SRL Soluciones e Implementaciones, S.A. de C.V.
    ------------------------------