定制 strakez/zendesk-webform 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

strakez/zendesk-webform

最新稳定版本:v2.1.0

Composer 安装命令:

composer require strakez/zendesk-webform

包简介

Add a webform handler to create Zendesk tickets from Drupal webform submissions

README 文档

README

Add a webform handler to create Zendesk tickets from Drupal webform submissions.

Installation

With composer/installers in effect, Drupal packages are installed to their own specified paths. However the default configs for Drupal packages don't include custom modules. We'll need to add one:

If not already present, add the following to the extra.installer-paths object in your composer file:

"web/modules/custom/{$name}": ["type:drupal-custom-module"],

Then, for Drupal 9, run the following command in your terminal to require this package:

composer require strakez/zendesk-webform

For Drupal 8, version v1.1.0 retains support:

composer require strakez/zendesk-webform:^1.1

Setup

1) Get a Zendesk API Key

Please see the following link for instructions on retrieving your Zendesk API Key.

2) Activate the Module

  • Activate the Zendesk Webform module from your site's Extend page.

4) Configure the Zendesk Connection Settings

  • Navigate to the configuration page (found under Configuration -> System -> Zendesk Integration Form), and fill out the required fields. (Note: your API key will be used here.)

3) Add a Zendesk Handler to a Webform

  • Navigate to the desired webform's Settings -> Email/Handlers page, and click Add Handler.
  • Specify settings for the Zendesk ticket to be created.

4) Test

It is recommend to submit a test submission to confirm your settings. If the ticket is created in Zendesk as desired, congrats! You've successfully setup up the handler integration.

Additional Notes

Store Zendesk Ticket ID

This module can help to keep track of the Zendesk Ticket ID directly on each submission. You'll need to create a hidden field when building the form, and then set it as the Zendesk Ticket ID Field in the handler configuration form.

Auto-delete Webform Submissions

Alternatively, you can configure this module to automatically delete the webform submission. This would usually be used in situations where security is a factor, or if there is no need to retain the submission records. Please note the following:

  • Ticket deletion occurs only after successful Zendesk ticket creation. If there are any errors during Zendesk ticket creation, the webform submission will not be deleted.
  • The deletion of webform submissions is permanent and cannot be undone.

统计信息

  • 总下载量: 9.8k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-06-28

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固