Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). Varbase Media Header 9.2.1 Minor update available for module varbase_media_header (9.2.1). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

This module integrates with the Twenty CRM API to manage customer relationships, offering advanced UI components for referencing people and companies. It provides Drupal services for programmatic access to CRM data and enables code generation for type-safe interaction with any Twenty CRM entity.

A comprehensive Drupal module that provides seamless integration with the Twenty CRM API for customer relationship management, featuring advanced Tagify-based UI components for person and company reference fields.

Key Features

  • Reference Fields: Tagify-based field widgets for person and company references with real-time auto-complete
  • Drupal Services: Person and Company services for programmatic API access
  • Secure API Integration: Key module integration for secure API token storage
  • Multi-entity Support: Person and company management with type-safe operations
  • Code Generation: Generate typed entity classes for any Twenty CRM entity (Opportunity, Note, Task, custom entities)
  • Enterprise Ready: Comprehensive logging, caching, and error handling

Requirements

  • Drupal 9.5+ | 10+ | 11+
  • PHP 8.1+
  • Key module
  • Tagify module
  • factorial-io/twenty-crm-php-client (installed via Composer)

Installation

composer require drupal/twenty_crm
drush en twenty_crm

Configuration

  1. Create API key at Configuration → System → Keys
  2. Configure module at Configuration → Web Services → Twenty CRM
  3. Add Person Reference or Company Reference fields to your content types

Usage

The module provides Person Reference and Company Reference field types that allow users to search and select people or companies directly from Twenty CRM with real-time auto-complete functionality powered by Tagify.

For developers, access Twenty CRM data programmatically via Drupal services:

  • twenty_crm.person_service - People management
  • twenty_crm.company_service - Company management
  • twenty_crm.client - Direct API client access for any entity

Code Generation

The underlying PHP client includes a code generator for type-safe access to any Twenty CRM entity:

vendor/bin/twenty-generate --config=.twenty-codegen.yaml --with-services

Generate typed classes for Opportunity, Note, Task, or any custom entities in your Twenty CRM instance with full IDE autocomplete support.

Architecture

Built on the standalone factorial-io/twenty-crm-php-client PHP package, providing a dynamic entity system that works with any Twenty CRM schema, PSR-18 HTTP client abstraction, and comprehensive error handling.

Development sponsored by Factorial.io - Expert Drupal consulting and API integrations.

Activity

Total releases
3
First release
Aug 2025
Latest release
4 months ago
Releases (12 mo)
3 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Release date
1.0.0 Stable Feb 19, 2026
1.0.x-dev Dev Dec 15, 2025
1.x-dev Dev Aug 7, 2025