Saving multiple checkboxes to rich text field

JSingh60
Miembro

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 Me gusta
1 Soluciones aceptada
mudasir_qayyum
Solución
Participante

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.

Ver la solución en mensaje original publicado

0 Me gusta
3 Respuestas 3
mudasir_qayyum
Solución
Participante

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 Me gusta
BBaber
Colaborador

@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
Miembro

@BBaber Yes. The multiple checkboxes field is in HubSpot

0 Me gusta