I followed the Timeline API Overview trying to create timeline events for companies. The API for creating Event type, Event properties, and Event were all completed successfully. I can see the Timeline API events --> Event Types and their properties were created and are showing on Hubspot app. I then proceed to create some events for the companies and I don't see them when I go the Companied and view their history. I'm suspect that I didn't know how to set Head template properly (Actually, I have no clue how this header template work)
Anyway, here are the sample JSON script that were used to for this workflow:
--create timeline even type
{ "name": "Appointment", "applicationId": "99999", "objectType": "COMPANY", "headerTemplate": "# Title for event {{id}}\nThis is an event for {{objectType}}", "detailTemplate": "This event happened on {{#formatDate timestamp}}{{/formatDate}}" }
Do you mean that when you create the event, it is not showing up on the company timeline? If that's the case, I was able to see the timeline event being created on company object 2240272818:
Can you check if you've selected the 'BSL BI Integration App' under the filter activity settings?
Also, I would expect the header template that you set to work as I have also tried it on my end. To further clarify, the header template is the sentence that is right below your App name, it should be just one line describing the event. Additionally, the Timeline api allows you to specify Markdown documents with Handlebars templates.
Let me know if that's the missing piece, and/or if there's anything else here that I can further help you with. I'll be happy to do so!
Do you mean that when you create the event, it is not showing up on the company timeline? If that's the case, I was able to see the timeline event being created on company object 2240272818:
Can you check if you've selected the 'BSL BI Integration App' under the filter activity settings?
Also, I would expect the header template that you set to work as I have also tried it on my end. To further clarify, the header template is the sentence that is right below your App name, it should be just one line describing the event. Additionally, the Timeline api allows you to specify Markdown documents with Handlebars templates.
Let me know if that's the missing piece, and/or if there's anything else here that I can further help you with. I'll be happy to do so!
You were right. 'BSL BI Integration App' under the filter activity settings wasn't selected. Once I did, the timeline events show up on the companies. Now, I need to figure out how to header and detail more usefull/meaningful for the users...:-)