# Customize Workflow Activity Text

**URL:** <https://community.hubspot.com/t/customize-workflow-activity-text/30251>\
**Category:** APIs & Integrations\
**Tags:** workflows\
**Created:** [January 15, 2021, 2:38am UTC](https://community.hubspot.com/t/customize-workflow-activity-text/30251 "2021-01-15T02:38:09Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![nikan](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/nikan/32/57633_2.png) [@nikan](https://community.hubspot.com/u/nikan)\
**Post date:** [January 15, 2021, 2:38am UTC](https://community.hubspot.com/t/customize-workflow-activity-text/30251/1 "2021-01-15T02:38:09Z")

</div>

I am attempting to customize the text on a custom object instance’s Activity tab triggered by a workflow in my account. Essentially when a specific property of a custom object instance is updated, a workflow triggers a webhook then outputs a card on the custom object’s “page” (when you click on the instance from the custom obect’s directory) under Activity.  
Currently, the text is a two liner:

**Workflow Activity** Jan 14, 2021 at 11:50 AM PST

Salt Spray Filter completed [NEW UPDATE](https://app.hubspot.com/workflows/9026585/platform/flow/50239054/history?objectId=60833716)

…where the “NEW UPDATE” indicates the name of the workflow completed. I’d like to customize the text that is displayed beyond creating more workflows with more detailed descriptions capturing the property’s prior value and new value, for example.  
I’m working with the API’s but haven’t found one that covers this. The bit I’ve read on the Events and Timeline API’s doesn’t cover workflow triggered events - it seems to be more for tracking contact interaction with webpages. I’d really love some direction or simply to know if what I’m attempting is possible.  
Cheers!

---

<div class="post-metadata">

**Author:** ![dennisedson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dennisedson/32/28044_2.png) [@dennisedson](https://community.hubspot.com/u/dennisedson)\
**Post date:** [January 15, 2021, 3:56pm UTC](https://community.hubspot.com/t/customize-workflow-activity-text/30251/2 "2021-01-15T15:56:45Z")

</div>

Hi @nikan

Sounds like a fun project!

[@Mike\_Eastwood](https://community.hubspot.com/t5/user/viewprofilepage/user-id/9259) , @MatthewShepherd , what would you do here 🤔

---

<div class="post-metadata">

**Author:** ![Mike\_Eastwood](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/mike_eastwood/32/70075_2.png) [@Mike\_Eastwood](https://community.hubspot.com/u/Mike_Eastwood)\
**Post date:** [January 19, 2021, 12:52am UTC](https://community.hubspot.com/t/customize-workflow-activity-text/30251/3 "2021-01-19T00:52:11Z")

</div>

Hi @nikan

You could create a [HubSpot App](https://legacydocs.hubspot.com/docs/faq/how-do-i-create-an-app-in-hubspot) that triggers a Webhook on Property Change (which covers new or changed values) or your [Workflow could call your Webhook](https://knowledge.hubspot.com/workflows/how-do-i-use-webhooks-with-hubspot-workflows) (Enterprise Only).

The [Webhook](https://legacydocs.hubspot.com/docs/methods/webhooks/webhooks-overview) can then pass the values to your code.

Your code can then push the [custom text into the Timeline](https://legacydocs.hubspot.com/docs/methods/timeline/timeline-overview).

Have fun

Mike

p.s. thanks for the mention @dennisedson

---

<div class="post-metadata">

**Author:** ![nikan](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/nikan/32/57633_2.png) [@nikan](https://community.hubspot.com/u/nikan)\
**Post date:** [January 20, 2021, 11:06pm UTC](https://community.hubspot.com/t/customize-workflow-activity-text/30251/4 "2021-01-20T23:06:14Z")

</div>

Thanks [@Mike\_Eastwood](https://community.hubspot.com/t5/user/viewprofilepage/user-id/9259),  
I generally use webhooks via workflows for simplicity. In creating the event type, however, would I replace the \<\<appId\>\> with my portal Id?  
for reference:

`'https://api.hubapi.com/integrations/v1/<<appId>>/timeline/event-types?hapikey=<<developerHapikey>>'`

Thanks for your help.

---

<div class="post-metadata">

**Author:** ![Mike\_Eastwood](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/mike_eastwood/32/70075_2.png) [@Mike\_Eastwood](https://community.hubspot.com/u/Mike_Eastwood)\
**Post date:** [January 20, 2021, 11:41pm UTC](https://community.hubspot.com/t/customize-workflow-activity-text/30251/5 "2021-01-20T23:41:28Z")

</div>

Hi @nikan

Yes, you use the App Id from your Developers Portal.

I recommend you use OAuth2 for authenticaion.

The _developHapikey_ is only designed to be used during development and testing.

If it’s an internal tool it might work for you but I would put the extra effort int o use OAuth.

Have fun

Mike

---

<div class="post-metadata">

**Author:** ![nikan](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/nikan/32/57633_2.png) [@nikan](https://community.hubspot.com/u/nikan)\
**Post date:** [January 22, 2021, 9:40pm UTC](https://community.hubspot.com/t/customize-workflow-activity-text/30251/6 "2021-01-22T21:40:13Z")

</div>

Hey [@Mike\_Eastwood](https://community.hubspot.com/t5/user/viewprofilepage/user-id/9259) ,  
I tried using my portal Id in lieu of the app Id and got an error saying my portal Id is not an app, which makes sense. In digging further, it seems that you must create a Hubspot app to handle custom timeline events - is that correct?  
Other than clarifying that, my real question revolves around custom timeline events for CUSTOM OBJECTS. After setting up my app, I get the error: “ObjectType ‘2-1253614’ not currently supported. Must be one of: [companies, tickets, deals, contacts]”  
Is there support or a workaround to handle custom objects with custom timeline events? That was the basis of my orginal question, so I just want to verify whether or not that is possible and what I may be missing at this point.  
Thanks for your help

---

<div class="post-metadata">

**Author:** ![Mike\_Eastwood](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/mike_eastwood/32/70075_2.png) [@Mike\_Eastwood](https://community.hubspot.com/u/Mike_Eastwood)\
**Post date:** [January 26, 2021, 12:02am UTC](https://community.hubspot.com/t/customize-workflow-activity-text/30251/7 "2021-01-26T00:02:52Z")

</div>

Hi @nikan

I haven’t played with Custom Objects yet… but my **assumption** is that you must be able to create associations between Custom Objects and typical HubSpot Objects (Contact, Company, Deal, etc.) or the Custom Object wouldn’t be very useful.

The HubSpot API key is in the admin area of the HubSpot Portal you want to access:

Settings (Cog top right) \> Integrations (left menu) \> API Key (sub menu).

There you will find the Active API key (Hapikey) that will let you access that Portal with your app.

Yes, you will need to create an App (in your developer portal) to use Timeline Events.

Your Timeline Event should handle any event you want to add e.g. Custom Object created.

Did I answer your questions? I’ve been away with work/play.

Cheers

Mike

---

<div class="post-metadata">

**Author:** ![nikan](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/nikan/32/57633_2.png) [@nikan](https://community.hubspot.com/u/nikan)\
**Post date:** [January 26, 2021, 10:57pm UTC](https://community.hubspot.com/t/customize-workflow-activity-text/30251/8 "2021-01-26T22:57:34Z")

</div>

No not really. My research suggests that it is not yet possible to implement any of the app tools (webhooks, custom timeline events, and crm cards) with custom objects, which was my question. When I’ve tried to use the custom object id with these tools, I get an error saying that the object type must be one of contacts, deals, companies, or tickets.

---

<div class="post-metadata">

**Author:** ![dennisedson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dennisedson/32/28044_2.png) [@dennisedson](https://community.hubspot.com/u/dennisedson)\
**Post date:** [January 27, 2021, 5:27pm UTC](https://community.hubspot.com/t/customize-workflow-activity-text/30251/9 "2021-01-27T17:27:46Z")

</div>

Hey @nikan,

I can confirm that those three things are not yet available for custom objects.
