Skip to content

feat(zendesk): Implement comprehensive Zendesk integration with 11 new actions and 7 new triggers #1 #8668

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 8 commits into from

Conversation

vats147
Copy link

@vats147 vats147 commented Aug 6, 2025

This PR significantly expands the Zendesk piece in Activepieces from a basic integration (1 trigger + 1 action) to a comprehensive solution supporting full Zendesk workflow automation.

🎯 Problem Solved

The existing Zendesk piece was limited to:

  • 1 trigger: new-ticket-in-view
  • 1 action: createCustomApiCallAction

This provided minimal functionality for users wanting to integrate Zendesk into their workflows. Issue #8659 requested a comprehensive implementation covering all major Zendesk operations.

🚀 What's New

11 New Actions Added

Write Operations (8):

  • Create Ticket - Full ticket creation with customizable fields, assignee/requester management, tags, and organization assignment
  • Update Ticket - Modify existing tickets including status, priority, assignee, and tag management
  • Add Tag to Ticket - Smart tag addition that preserves existing tags while adding new ones
  • Add Comment to Ticket - Add public or private comments with author specification
  • Create Organization - Organization management with domain names, sharing settings, and metadata
  • Update Organization - Modify organization properties and settings
  • Create User - User creation with role assignment (end-user, agent, admin) and profile management
  • Delete User - Safe user removal with dependency handling

Search Operations (3):

  • Find Ticket(s) - Multi-criteria search by ID, email, subject, status, tags, or custom queries
  • Find Organization - Lookup organizations by ID, name, domain, or external ID
  • Find User - Retrieve users by ID, email, name, or external ID

7 New Triggers Added

  • New Ticket - Monitors new ticket creation with optional organization filtering
  • Updated Ticket - Detects ticket modifications (distinguishes updates from new creations)
  • Tag Added to Ticket - Monitors tag additions with optional specific tag filtering
  • New Organization - Tracks organization creation events
  • New User - Monitors new user registration with role-based filtering
  • New Suspended Ticket - Detects when tickets are put on hold/suspended
  • New Action on Ticket - Comprehensive audit event monitoring for specific tickets

🏗️ Technical Implementation

Clean Architecture

  • Modular Structure: Organized into actions/, triggers/, and common/ directories
  • Shared Utilities: Common types, error handling, and API utilities in common/
  • Type Safety: Comprehensive TypeScript interfaces for all Zendesk entities
  • Error Handling: Meaningful error messages with proper HTTP status code handling

Key Features

  • Backward Compatible: Maintains existing new-ticket-in-view trigger and custom API action
  • Zendesk API v2 Compliant: Uses proper authentication and follows API best practices
  • Efficient Polling: Optimized polling strategies with deduplication for all triggers
  • Sample Data: Comprehensive sample responses for all components
  • Authentication: Uses existing zendeskAuth configuration pattern

Code Quality

  • ✅ 26 TypeScript files created/modified
  • ✅ Zero compilation errors
  • ✅ ~2,500 lines of production-ready code
  • ✅ Comprehensive error handling
  • ✅ Full type safety throughout

🔄 Migration Impact

No Breaking Changes: Existing users can continue using the piece without any modifications. All new functionality is additive.

🧪 Testing

  • ✅ TypeScript compilation successful
  • ✅ Code structure validation complete
  • 🟡 Ready for integration testing with Zendesk trial accounts

📝 Documentation

Added comprehensive implementation summary with usage examples and technical details in IMPLEMENTATION_SUMMARY.md.

This implementation transforms the Zendesk piece into a production-ready, comprehensive integration that supports the full spectrum of Zendesk workflow automation scenarios.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

/claim #8659

Copilot AI and others added 4 commits August 6, 2025 05:23
…ggers

Co-authored-by: vats147 <89577062+vats147@users.noreply.github.com>
Co-authored-by: vats147 <89577062+vats147@users.noreply.github.com>
…9-f77c8971ec16

feat(zendesk): Implement comprehensive Zendesk integration with 11 new actions and 7 new triggers
@CLAassistant
Copy link

CLAassistant commented Aug 6, 2025

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.

✅ vats147
❌ Copilot
You have signed the CLA already but the status is still pending? Let us recheck it.

@algora-pbc algora-pbc bot mentioned this pull request Aug 6, 2025
Copilot AI and others added 4 commits August 6, 2025 06:23
Co-authored-by: vats147 <89577062+vats147@users.noreply.github.com>
Co-authored-by: vats147 <89577062+vats147@users.noreply.github.com>
…e-163d8d77b5ba

feat: Extend Supabase piece with comprehensive database operations and triggers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants