Embulk output plugin for Zendesk to update Zendesk User infomation
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib/embulk/output
.gitignore
.ruby-version
CHANGELOG.md
Gemfile
LICENSE.txt
README.md
Rakefile
embulk-output-zendesk_users.gemspec

README.md

Zendesk Users output plugin for Embulk

Embulk output plugin for Zendesk to update Zendesk User infomation. Fro more details, see https://developer.zendesk.com/rest_api/docs/core/users#content

This plugin's feature is limited, which allows you to update Zendesk User's tags and user_fileds.

Overview

  • Plugin type: output
  • Load all or nothing: no
  • Resume supported: no
  • Cleanup supported: no

Configuration

  • login_url: Login URL for Zendesk (string, required)
  • auth_method: Zendesk auth method (string, default: token)
  • username: Zendesk Username (string, required)
  • token: Zendesk API Token (string, required if auth_method is token)
  • method: control whether to update the existing user or create new user(not supported) (string, default: update)
  • id_column: column name for user's email (long, default: id)
  • tags_column: column name for tags. Each tag is separated by comma (string, optional, default: null, overwrote)
  • user_fields_column: column name for Values of custom fields in the user's profile. (json, optional, default: null)

Example

Config

in:
  type: config
  columns:
  - {name: id, type: long}
  - {name: tags, type: json}
  - {name: user_fields, type: json}
  values:
  - - [ 1194094257, ["tag1", "tag2"], { "field0": "Support description", "field01": "2013-02-27T20:35:55Z" } ]
    - [ 9811482788, ["tag3"], { "field0": "Support description" } ]
out:
  type: zendesk_users
  login_url: https://obscura.zendesk.com
  auth_method: token
  username: test@test.com
  token: xxxxxxxxxx
  method: update
  id_column: id
  tags_column: tags
  user_fields_column: user_fields

Data

Build

$ rake