esign / craft-formie-realsuite
Realsuite integration that extends Formie.
Package info
github.com/esign/craft-formie-realsuite
Type:craft-plugin
pkg:composer/esign/craft-formie-realsuite
Requires
- php: >=8.2
- craftcms/cms: ^5.0.0
- verbb/formie: ^3.0
Requires (Dev)
- craftcms/ecs: dev-main
- craftcms/phpstan: dev-main
This package is not auto-updated.
Last update: 2026-03-05 09:36:17 UTC
README
A Realsuite integration that extends the Formie plugin for Craft CMS. Pushes Formie form submissions to the Realsuite SiteSync API as leads.
Requirements
This plugin requires:
- Craft CMS 5.0.0 or later
- PHP 8.2 or later
- Formie 3.0 or later
- A Realsuite account with a SiteSync API key
Installation
With Composer
Open your terminal and run the following commands:
# go to the project directory cd /path/to/my-project.test # tell Composer to load the plugin composer require esign/craft-formie-realsuite # tell Craft to install the plugin ./craft plugin/install formie-realsuite
From the Plugin Store
Go to the Plugin Store in your project's Control Panel and search for "Formie Realsuite Integration". Then press "Install".
Usage
Setting Up the Realsuite Integration
- Navigate to Formie → Settings → CRM
- Click New Integration
- Select Realsuite as your integration provider
- Enter your Realsuite SiteSync API Key and save the integration
- After saving, click the Refresh button in the right-hand sidebar to verify the API connection
Sending Form Submissions to Realsuite
- Go to the form you want to connect with Realsuite
- Navigate to the Integrations tab
- Enable your Realsuite integration
- Toggle one or more lead types and map your form fields:
| Lead type | Endpoint | Use case |
|---|---|---|
| Lead Detail | POST /leads/detail |
Visitor requests more info about a specific property (publicationId required) |
| Lead Estimate | POST /leads/estimate |
Visitor requests a property valuation, includes address and estate type fields |
| Lead Info | POST /leads/info |
General contact/info request |
| Lead Search Profile | POST /leads/search-profile |
Visitor submits a property search profile with criteria (price, area, type, etc.) |
- Map each form field to the corresponding Realsuite field and save the form
Field Mapping Notes
- Lead Detail —
publicationIdandlastNameandinfoare required - Lead Estimate —
lastNameis required; address and estate type fields are optional - Lead Info —
lastNameis required - Lead Search Profile —
lastNameis required; thesearchProfileobject is assembled automatically from theSearch Profile:,Residential:, andProfessional:prefixed fields - Array fields (Search Profile: Sorts, Genres, Characterisations, Zipcodes) — map these to a Formie Checkboxes or Multi-select Dropdown field to pass multiple values
Custom Value Transformations
If you need to transform field values before they are sent to Realsuite (e.g. mapping a Craft entry selection to a Realsuite string code), listen to the EVENT_MODIFY_FIELD_MAPPING_VALUE event in a project module:
use esign\formierealsuite\integrations\crm\Realsuite; use verbb\formie\events\ModifyFieldIntegrationValueEvent; Event::on( Realsuite::class, Realsuite::EVENT_MODIFY_FIELD_MAPPING_VALUE, function(ModifyFieldIntegrationValueEvent $event) { // $event->value — the value being sent (modify this) // $event->rawValue — the original unmodified value // $event->field — the Formie form field // $event->integrationField — the Realsuite destination field } );
API Documentation
For more information about the Realsuite SiteSync API, refer to the Realsuite SiteSync API documentation.
License
This plugin is licensed under the MIT License. Please see License File for more information.
