Files
twenty/packages/twenty-apps/last_email_interaction

Last email interaction

Updates Last interaction and Interaction status fields based on last email date

Requirements

  • twenty-cli npm install -g twenty-cli
  • an apiKey. Go to https://twenty.com/settings/api-webhooks to generate one

Setup

  1. Add and synchronize app
twenty auth login
cd last_email_interaction
twenty app sync
  1. Go to Settings > Integrations > Last email interaction > Settings and add required variables

Flow

  • Checks if fields are created, if not, creates them on fly
  • Extracts the timedate of message and calculates the last interaction status
  • Fetches all users and companies connected to them and updates their Last interaction and Interaction status fields