TwentyT
Twenty2y ago
3 replies
Skyfox675

How to correctly create a custom timelineActivity with multiple relations

Hi Team!!

I'm working on building some really amazing integrations with N8n.io for my TwentyCRM instance that I self host! First off thanks again for a really solid product!

I'm hoping to add in some "custom" events into the Company's Timeline and a custom object of "Automation"'s Timeline for events of "contract viewed", "contract signed", etc.

However I'm struggling to find a good example of how to create a timelineActivity via API. I'm using:
https://twenty.com/developers/rest-api/core#/operations/createOneTimelineActivity

But when I add the two relations, it starts to throw internal server errors that too many attributes (greater than 100) have been used and I cannot view the company or automation record attached to this new timelineActivity until I delete the timelineActitivy via API.

It looks like properties JSON object/attribute doesn't have a schema listed, does anyone have more information on what this should look like when putting in a custom message/status?

Hosting type: Docker/K8s
Docker Images:
- twentycrm/twenty:v0.22.1
- twentycrm/twenty-postgres:v0.22.1
Open Source CRM
Was this page helpful?