Genesys Cloud - Developer Community!

 View Only

Sign Up

  • 1.  Exclude some division from GDPR requests

    Posted 12 days ago
    We need to exclude some customers from GDPR deletion processing request whose calls lands to certain defined division in  Genesys Cloud. The Azure sends us a payload currently contains only Name, EmailAddress, PhoneNumber, DeletionSource , and we will execute all GDPR requests.
    If no additional attribute is provided, is there a supported way for the workflow/API to determine the customer's division using only the supplied email address, phone number, or name?
    Please let me know if anyone has idea/worked on this use case before?

    #PlatformAPI

    ------------------------------
    Riddhi
    .
    ------------------------------


  • 2.  RE: Exclude some division from GDPR requests

    Posted 12 days ago

    Hi! I came across your question and am checking internally to see if I can help point you to the right team.



    ------------------------------
    Claudia
    Customer Success Onboarding Specialist
    ------------------------------



  • 3.  RE: Exclude some division from GDPR requests

    Posted 10 days ago

    Hi @Claudia Ferreira Were your team able to Find any information on  this?



    ------------------------------
    Riddhi
    .
    ------------------------------



  • 4.  RE: Exclude some division from GDPR requests

    Posted 12 days ago

    Hi Riddhi, as far as I know a GDPR request can't be scoped to a division: POST /api/v2/gdpr/requests acts on the subject across the whole org. So the decision has to happen before you submit it.

    With only email/phone, one way is to query conversation details (POST /api/v2/analytics/conversations/details/query) filtered by that ANI or email address over your retention window, and read the divisionIds on the conversations returned. If any of them belongs to an excluded division, skip the request or send it to manual review.

    Two caveats: a customer can have conversations in both included and excluded divisions, so decide up front which rule wins. And since the request deletes the subject everywhere, "excluding a division" really means not sending the request for that customer at all, so I'd confirm that with your legal/privacy team.



    ------------------------------
    Sebastian
    Ingeniero de Proyecto
    ------------------------------



  • 5.  RE: Exclude some division from GDPR requests

    Posted 10 days ago

    @Sebastian Valenzuela Hey Sebastian, Thanks for your response! I need to delete the customer data from certain division. Was trying to get suggestion if there is any way to do it.



    ------------------------------
    Riddhi
    .
    ------------------------------



  • 6.  RE: Exclude some division from GDPR requests

    Posted 3 days ago

    Hi Riddhi, thanks for clarifying. As far as I can see, a GDPR request can't be limited to a division: the subject in POST /api/v2/gdpr/requests identifies the person (name, phone numbers, email addresses, external contact ID and so on) and has no division field.

    If only one division's data should go, I'd handle it by data type instead:

    • Recordings: POST /api/v2/recording/jobs with action DELETE and a conversationQuery that filters on divisionId (conversation filter) and ani (segment filter). Then run it with PUT /api/v2/recording/jobs/{jobId}, using the same user who created the job. Very recent recordings can take up to 48 hours to be picked up by the job query.
    • External contacts: they carry a division, so check it and then use DELETE /api/v2/externalcontacts/contacts/{contactId}.
    • Conversation records: I couldn't find a public endpoint that selectively deletes conversation history. DELETE /api/v2/conversations/{conversationId} only disconnects the participants, so I'd raise this part with Customer Care.

    One caution: a conversation can belong to more than one division, so I'd review the matches with a details query before executing the job. And since this is a privacy obligation, it's worth having your compliance team confirm that a partial deletion meets it.



    ------------------------------
    Sebastian
    Ingeniero de Proyecto
    ------------------------------