Updated by
Updates Updated by field with details of person behind newest update
Requirements
- twenty-cli
npm install -g twenty-cli - an
apiKey. Go tohttps://twenty.com/settings/api-webhooksto generate one
Quick start
- Add application
twenty auth login
cd packages/twenty-apps/updated-by
twenty app sync
- Configure TWENTY_API_KEY
Go to Settings > Applications > Updated by > Settings and add Twenty API key used to send requests to Twenty.
If you're using self-hosted instance, you have to add also URL to your workspace.
Flow
- Check if Twenty API key is added, if not, exit
- Check if updated record belongs to an object which shouldn't have a
updatedByfield (like blocklists or messages), if yes, exit - Check if updated record has updatedBy field, if not, create it
- Check if updated field in record is updatedBy field, if yes, return preemptively
- Update record with workspace member ID
Notes
- Updated by field shouldn't be changed by users, only by extension
- Amount of API requests is reduced to possible minimum