a870e034a6
- adds `twenty-slack` to internal application ci - unify config with twenty-last-contact app - add base oxlint config to show error twenty-shared is used in internal app <!-- This is an auto-generated description by cubic. --> <a href="https://cubic.dev/pr/twentyhq/twenty/pull/21849?utm_source=github" target="_blank" rel="noopener noreferrer" data-no-image-dialog="true"><picture><source media="(prefers-color-scheme: dark)" srcset="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://www.cubic.dev/buttons/review-in-cubic-light.svg"><img alt="Review in cubic" src="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"></picture></a> <!-- End of auto-generated description by cubic. -->
Last contacted at
A Twenty official application that adds a lastContactAt field to the standard Person object and keeps it in sync with email and calendar activity.
What it does
- Adds a Last Contact (
lastContactAt,DATE_TIME) field on Person, visible in the All People view. - Sets the field to the most recent interaction whenever a synced email or calendar event is linked to a person.
- Counts a meeting as contact when it starts, via a cron-triggered logic function.
- Backfills the field from existing message and calendar history right after install.
Application variables
| Variable | Default | Description |
|---|---|---|
CALENDAR_CRON_INTERVAL_MINUTES |
5 |
Interval between runs of on-calendar-event-started. The cron scans events that started within the last interval plus a 5-minute safety overlap. |