Saving multiple checkboxes to rich text field

JSingh60
Member

For an external integration, I am getting the values in Multiple Checkboxes field. I want to save these values in another field with field type - rich text field. How can I achieve this 

0 Upvotes
1 Accepted solution
mudasir_qayyum
Solution
Participant

To save multiple checkbox values into a rich text field in HubSpot, you can use a workflow or custom code to concatenate the selected values into a string and then update the rich text field with that string. If you're doing this via an external integration (e.g., using HubSpot API), you can retrieve the checkbox field values as an array, join them into a single string with separators like commas or line breaks, and then use the Contacts API to update the rich text field with that formatted string. Keep in mind, while HubSpot’s workflow tool can copy property values, it doesn’t natively format arrays into rich text—so custom code (server-side or using HubSpot Functions in Operations Hub) is often the most flexible approach.

View solution in original post

0 Upvotes
3 Replies 3
mudasir_qayyum
Solution
Participant

To save multiple checkbox values into a rich text field in HubSpot, you can use a workflow or custom code to concatenate the selected values into a string and then update the rich text field with that string. If you're doing this via an external integration (e.g., using HubSpot API), you can retrieve the checkbox field values as an array, join them into a single string with separators like commas or line breaks, and then use the Contacts API to update the rich text field with that formatted string. Keep in mind, while HubSpot’s workflow tool can copy property values, it doesn’t natively format arrays into rich text—so custom code (server-side or using HubSpot Functions in Operations Hub) is often the most flexible approach.

0 Upvotes
BBaber
Contributor

@JSingh60 is the multiplic checkbox property in hubspot, and is this the one you want to copy the values from to your new rich text field?

JSingh60
Member

@BBaber Yes. The multiple checkboxes field is in HubSpot

0 Upvotes