
內容簡介
總結:此WordPress外掛提供多種功能,包括Webhooks與整合、Supabase整合、客戶訪問、票務管理、即時聊天、自訂欄位建構等。
問題與答案:
1. 什麼是Webhooks & Intergations?
- 答:使用此功能可在新票務建立時向Slack、Discord或Zapier發送通知。
2. 如何啟用Supabase整合?
- 答:使用此功能可提供由Supabase實時數據庫驅動的真正即時聊天功能。
3. 什麼是Guest Access?
- 答:此功能允許訪客在提交後立即查看並回覆票務,無需登錄即可透過安全Cookie進行操作。
4. 如何創建和管理票務?
- 答:可以從WordPress管理員和前端創建和管理票務。
5. 如何設置自定義欄位建構?
- 答:可以使用此功能建構具有文本、文本區域、數字、電子郵件、URL、選擇和日期字段的自定義表單。
外掛標籤
開發者團隊
原文外掛簡介
Note on Minified JS: The public/js/supabase.js file is a minified build of the Supabase JS client. Source code available at: https://github.com/supabase/supabase-js
Features
Webhooks & Integrations (New!): Send notifications to Slack, Discord, or Zapier when a new ticket is created.
Supabase Integration: True real-time chat powered by Supabase Realtime DB (optional)
Guest Access (New!): Guests can view and reply to their tickets immediately after submission via secure cookie (no login required).
Create and manage tickets from WordPress admin and frontend
Real-time chat between users and admins
Custom Fields Builder: Create custom forms with Text, Textarea, Number, Email, URL, Select, and Date fields
Advanced Search: Filter tickets by User Name or Ticket ID instantly
Guest Ticket Submission: Users can submit tickets without an account (secure cookie access)
User Profile: Users can manage their profile and upload avatars
Auto-Assignment: Automatically assign tickets to agents based on category
Agent Performance: View stats on agent performance and ticket resolution
Email Piping: User replies via email are automatically added to ticket chat
Email Notifications: Chat replies are sent to user email (with direct frontend links)
IMAP/SMTP settings configurable via plugin settings
Secure input handling and WordPress coding standards compliant
Fully GPL-2.0 compatible
External Services
This plugin integrates with the following third-party services:
1. Twilio (Optional)
Service: Twilio API (WhatsApp & SMS)
Usage: Sends notifications to admins and users via WhatsApp or SMS.
Data Sent: Message content, phone numbers.
Privacy Policy: Twilio Privacy Policy
2. Supabase (Optional)
Service: Supabase Realtime
Usage: Provides real-time chat capabilities.
Data Sent: Chat messages, user IDs (for authentication).
Privacy Policy: Supabase Privacy Policy
3. Webhooks (Slack, Discord, Zapier)
Usage: Sends ticket data to external services for notification/automation.
Data Sent: Ticket details (title, ID, user email, message).
Supabase Configuration (Optional for Realtime)
Create a project at Supabase.
Get your Project URL, Anon Key, and Service Role Secret.
In WordPress, go to GRT Ticket > Settings and enter these credentials.
In Supabase SQL Editor, run this command to create the messages table:
create table public.grt_messages ( id bigint not null, ticket_id bigint not null, sender_type text not null, sender_name text not null, message text null, attachment_url text null, is_internal integer null default 0, created_at timestamp with time zone null default now(), constraint grt_messages_pkey primary key (id) ) TABLESPACE pg_default;
IMPORTANT: Go to Supabase Dashboard > Database > Publications (or Replication) and enable “grt_messages” for Realtime. (Otherwise, no messages will be received!)
Enable “Realtime Chat” in plugin settings.
