Skip to content

whitelotusapps/user-reports

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

User Reports

GitHub tag checks state GitHub language count GitHub top language GitHub repo size GitHub all releases GitHub issues GitHub GitHub last commit

Purpose

The purpose of this app is to allow Zendesk Admins to export their entire user base to CSV, XSLS, JSON, HTML or PDF for reporting purposes.

Things to know about v1.0:

  • To obtain the text names of the groups and organizations, two API calls are made per user
  • The user search criteria is:
    • /api/v2/users?page[size]=100
      • This means that we are searching for ALL users, not just Agents and Admins
  • As seen above, we are currently using CBP and set the page size to 100 entries
  • This version pages through all of the pages and aggregates all of the data into one large array that it then passes to the table for displaying

Known Issues:

  • Searching by login date or time is not currently working
  • This has not been tested on instances larger than a few hundred users
    • It is possible, due to the way that v1.0 is currently designed, that:
      • API rate limits may be reached
      • Large data sets may slow down, lock up, or even crash the browser (speculation)
  • The PNG and SVG files contain different images

Safety Level

SAFE

  • READ-ONLY regarding Zendesk instances
  • This script only performs GET API requests
  • No data is written into the Zendesk instance itself
  • The localstore of the webbrowser is written to
  • Generated export files will be saved to the local machine

Installation

  1. Download the "source.zip" from the Releases section, which is located on the right hand side of this page
  2. Login to the Admin Console of your Zendesk Instance
  3. Navigate to "Zendesk Support Apps"
  4. In the upper right hand corner of the screen, there should be a "Upload private app" button, click on this
  5. For the "App Name", type in "User Reports"
  6. Click "Choose File"
  7. Browse to the location on your computer where you saved the "users-reports-1.0.zip" (NOTE: the version number is subject to change)
  8. Click "Upload"
  9. Another screen should appear, review the caveats, and if you are sure, then press "Upload"
  10. The app will then queue and then install into your Zendesk instance
  11. You will be presented with the standard config screen to enable role and/or group restrictions
  12. Once you have defined the restrictions, click "Install"
  13. The "User Reports" app is now installed into your Zendesk instance

You will find the "User Report" icon located on the left hand side of the Agent support window.

Configuration

There are some steps that are required before this app will be useful. Click on the app icon on the left hand side, and then follow the below steps:

  1. Click on the "Settings" button
  2. Play around with these settings. A typical configuration may be:
  • Group users by field: Role
  • Sort users by field: Role
  • Make usernames URL?: Yes
  • Make user emails URL?: Yes
  1. Select what items from the user object you wish to have displayed in a table
  2. Once you have selected the items you wish to see, click "Save Settings"

Usage

  1. Once you have configured the app, you are now ready to use it
  2. Each column can be dragged and dropped to another location, and you can sort by the different column heading by clicking on them
  3. Play around with the exports; you will find that whatever is shown in the table is what will be exported
  4. CSV and XLSX are going to be your best options for auditing and reporting

v1.0 Features:

  • Select any "standard element" of a user object to export into a report

    • Custom User Fields are not supported in the exports
    • Below are the items that can included in the report:
      • Name
      • Role
      • Email
      • Last Login At Date
      • Last Login At Time
      • Last Login (RAW)
      • Active Users
      • Suspended User
      • Custom Role ID
      • Moderator
      • Default Group Name
      • Default Group ID
      • User Groups
      • Created At Date
      • Created At Time
      • Created At (RAW)
      • Shared Users
      • Shared Agent
      • Shared Phone
      • User Alias
      • User Organizations
      • User Tags
      • Phone
      • Updated At Date
      • Updated At Time
      • Updated At (RAW)
      • Ticket Restriction
      • Restricted Agent
      • Notes
      • Details
      • External ID
      • Signature
      • 2FA Status
      • Time Zone
      • IANA Time Zone
      • Only Private Comments
      • Report CSV
      • User ID
      • User URL
      • Email Verification Status
      • Locale
      • Locale ID
  • Group users by:

    • Name
    • Email
    • Role
    • Tags
    • Last login date
    • Last login time
    • Ogranization names
  • Sort users by:

    • Name
    • Email
    • Role
    • Tags
    • Last login date
    • Last login time
    • Ogranization names
  • Users names are linked, and will open a new window to the users profile

  • User email addresses are linked, clicking on them will open your mail client to compose an email

Inspiration:

Issues that users were discussing regarding the Super Admin App: