> ## Documentation Index
> Fetch the complete documentation index at: https://www.notifuse.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Notifuse for Twenty CRM

> Connect Twenty CRM to Notifuse to sync contacts and lists, see email activity on Person records, and send emails from workflows.

The **Notifuse** app syncs contacts and mailing lists from Twenty to Notifuse. In Twenty, you can see which lists a person belongs to, preview emails they received, and use Notifuse actions in workflows. The **Notifuse** page in the sidebar shows recent broadcasts, active subscriber counts, and copyable list and transactional notification IDs.

## Install and connect

Notifuse for Twenty 1.0.0 requires Twenty 2.65.0 or later.

1. As a Twenty workspace admin, open **Settings** → **Apps** → **Marketplace**, find **Notifuse**, and install it. If the app is missing, turn on **Show unlisted apps** in the Marketplace filter. The published package is [notifuse-twenty](https://www.npmjs.com/package/notifuse-twenty). For a source installation, follow the [app setup guide](https://github.com/Notifuse/twenty_app/blob/v1.0.0/SETUP.md).
2. In Notifuse, ask the workspace owner to create a dedicated key under **Settings** → **Team & API keys**.
3. In Twenty, open **Settings** → **Apps** → **Notifuse** → **Settings**. Fill in **Notifuse API URL** with the base HTTPS URL your Twenty server uses to reach Notifuse, such as `https://acme.notifuse.cloud`. Leave out the `/api` and `/console` paths. Fill in **Workspace ID** (the value after `/console/workspace/` in Notifuse) and **API key**. Set **Notifuse Console URL (optional)** only if browsers open the console at a different address.
4. Click **Test connection**, then **Save settings**. Twenty stores the key as an encrypted secret. If you change the API URL, enter the key for the new host before testing or saving.

![Notifuse connection settings and contact sync options in Twenty](https://www.notifuse.com/docs/assets/screenshots/twenty/settings.png)

Contact sync, timeline sync, and workflow execution are off by default. List sync starts when you save an enabled list mapping.

### API key permissions

Give the Notifuse key the permissions for the features you use. **Lists** read is required to test the connection, even if you only plan to use contacts or email.

| Feature                                                                     | Notifuse permissions                                                                |
| --------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- |
| Test the connection or browse lists                                         | Lists read                                                                          |
| Sync contact fields or track a custom event                                 | Contacts write. Permanent deletion sync also needs Contacts read.                   |
| Sync list memberships, subscribe or remove people, or record an unsubscribe | Lists read/write and Contacts read/write                                            |
| Read memberships on a Person record                                         | Contacts read                                                                       |
| Read recent emails or sync the timeline                                     | Message History read. The Emailing tab on a Person record also needs Contacts read. |
| Preview a sent email                                                        | Message History read and Templates read                                             |
| Read a contact's site visits                                                | Contacts read and Web Analytics read                                                |
| Browse recent broadcasts and their delivery stats                           | Broadcasts read and Message History read                                            |
| Browse transactional notifications and send an email                        | Transactional read to browse, Transactional write to send                           |

See [Admins and API keys](https://www.notifuse.com/docs/features/admins-api-keys.md) for how to restrict a key on Notifuse Cloud or a self-hosted instance.

## Sync contact fields

1. In the app settings, choose the Twenty Person and Company fields to copy to Notifuse. You can map standard and custom fields, dedicate a `custom_json_1` through `custom_json_5` slot to Twenty, and include Opportunity information such as the number of won deals or the latest open stage.
2. Under **Contact synchronization**, turn on **Sync every Person with an email to Notifuse** and save.
3. To import existing records, click **Sync all contacts now**. Twenty runs the import in the background. Later changes sync as they happen, and an incremental job catches up each night.

Twenty matches contacts by primary email and skips people without a valid address. When a mapped field is empty in Twenty, Notifuse keeps its existing value. A dedicated JSON slot is replaced on each sync, including with `{}` when empty. Opportunity totals add amounts without currency conversion. Contact sync leaves list subscriptions as they are. Nightly and full contact imports update `created_at` on imported Notifuse contacts.

Moving a Person to the trash keeps the Notifuse contact. The **Delete the Notifuse contact when a Person is permanently deleted** setting is off by default. When enabled with contact sync, it can delete a Notifuse contact only if its `external_id` matches the deleted Person's ID and no other active Person uses that address.

## Sync mailing lists

1. Create a mailing list under **Lists** in Twenty. In the Notifuse app settings, open **Twenty lists to Notifuse lists** and click **Add list mapping**.
2. Choose the Twenty list and the destination list. **Create in Notifuse** creates a private, single opt-in list.
3. Choose a sync mode, save the settings, then click **Sync mapped lists now** to import existing members. List sync works independently of contact sync.

| Mode                                   | What happens when membership changes in Twenty                                                                                                                |
| -------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Add only (shared list)**             | Adds new members. Removing someone in Twenty leaves their Notifuse membership in place.                                                                       |
| **Managed by Twenty (add and remove)** | Adds members and applies removals. Removals also apply to people who originally joined through a Notifuse form. Use this mode when Twenty manages membership. |

Manual sync imports members and keeps existing Notifuse subscribers. Existing unsubscribes, bounces, and spam complaints are preserved in both modes. Adding subscribers can trigger Notifuse automations tied to the list.

> [!WARNING]
>
> For a double opt-in list, the mapping requires **Skip double opt-in**. Notifuse activates imported members, including those awaiting confirmation, without sending a confirmation email. Use the Notifuse signup flow when you need subscribers to confirm by email. See [Lists](https://www.notifuse.com/docs/features/lists.md).

## Work from a Person record

- **Emailing** shows live Notifuse memberships, recent emails, and site visits when Web Analytics is enabled in Notifuse. Changing the primary email changes which Notifuse contact appears in the tab.
- Use **Unsubscribe** on a list or **Unsubscribe from all lists** to record an opt-out in Notifuse. The command-menu action **Remove from Notifuse list…** only removes the membership, so a later sync can add the person again.
- From the People view, select one or more records and open the command menu with **⌘K** or **Ctrl+K** and choose **Subscribe to Notifuse list…** or **Remove from Notifuse list…**. To subscribe people to a double opt-in list this way, check **Skip double opt-in**.
- On a Person record, choose **Send Notifuse email…**, pick a transactional notification, and fill in any template variables as a JSON object, for example `{"first_name":"Marie"}`. Set up a [transactional notification and a sending provider](https://www.notifuse.com/docs/features/transactional-api.md) in Notifuse first.

### Show email events in the timeline

In the app settings, enable **Sync Notifuse email events to contact timelines** under **Contact timeline**. Choose which events to show and save. Deliverability alerts (bounces, complaints, unsubscribes, failures) and transactional and automation sends are selected by default. **Broadcast campaigns** and **Opens and clicks** are off by default.

The app checks for new events about every 10 minutes and requests a refresh after a transactional send from Twenty. Click **Sync timeline now** to request a manual check. On first activation or after a pause, deliverability alerts and transactional and automation sends start with the previous hour. Broadcasts, opens, and clicks start collecting from activation.

### Preview a sent email

Click **Preview** in **Emailing**, or expand an email activity in **Timeline** and click **Preview email**. The side panel renders the email again from the saved template version and message data, with tracking disabled and links inactive. Switch between **HTML** and **Plain text** when both are available. Choose **Fit**, **Desktop**, or **Mobile** to change the preview width. The preview needs the original message data and template version to still be available in Notifuse.

![A Person's Emailing tab with a sent email open in the side panel](https://www.notifuse.com/docs/assets/screenshots/twenty/email-preview.png)

## Use Notifuse in Twenty workflows

In **Settings** → **Apps** → **Notifuse** → **Settings**, turn on **Allow Twenty Workflows to trigger Notifuse actions** and save. Workflows run with the app's Notifuse API key. Anyone who can edit workflows can use these actions for any email address supplied by a workflow.

In the workflow editor, add a Notifuse action after your trigger. Use Twenty's variable picker to select the Person's **Primary Email**. Copy list and notification IDs from **Notifuse** in the sidebar.

| Action                                 | How to configure it                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| -------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Send Notifuse transactional email**  | Enter a notification ID and a stable idempotency key for each intended send, such as the opportunity ID plus `-welcome` for one welcome email per opportunity. Reusing the key for the same recipient and notification prevents a duplicate send. Pass template variables in the optional JSON object.                                                                                                                                                      |
| **Track Notifuse custom event**        | Enter an event name such as `deal.won`, a stable key unique to the event name, and a source timestamp in RFC 3339 format, such as `2026-12-05T10:30:00Z`. The same event name and key update the event without triggering a new automation run. Leave properties blank to keep them or use `{}` to clear them. For a `purchase` or `subscription` goal, enter a value. If you send a goal value from Twenty's `amountMicros`, divide it by 1,000,000 first. |
| **Subscribe contact to Notifuse list** | Use the ID of an unmapped or add-only single opt-in list. A list managed by Twenty with removals returns an error. The action returns `skipped: true` for double opt-in lists and for contacts who are opted out or awaiting confirmation. You can branch on that result.                                                                                                                                                                                   |

Test the workflow with a test address before enabling it for real records. For an event-triggered sequence, create and activate a Notifuse automation with the same event name. See [Custom events](https://www.notifuse.com/docs/features/custom-events.md) and [Automations](https://www.notifuse.com/docs/features/automations.md).

![The three Notifuse actions in the Twenty workflow editor](https://www.notifuse.com/docs/assets/screenshots/twenty/workflow-actions.png)

## Troubleshoot

| Symptom                                                      | What to check                                                                                                                                                                                                |
| ------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| The connection test fails                                    | Check that the Twenty server can reach the API URL without a redirect, the key belongs to the selected workspace, and it has Lists read.                                                                     |
| A sync appears to do nothing                                 | Save the settings before starting a sync. Check the sync status in the app settings and the primary email on the source record. For list sync, check that the mapping is enabled and both lists still exist. |
| Emailing shows a contact but no recent emails or site visits | Check Message History read for emails. For visits, enable Web Analytics in Notifuse, grant Web Analytics read, and check that visits are attributed to the contact.                                          |
| A recent email has no preview                                | Check Message History read and Templates read. The message and the template version used at send time must still be available.                                                                               |

Find releases and report problems in the [Notifuse for Twenty repository](https://github.com/Notifuse/twenty_app).
