Skip to main content
Solved

Is it possible to increment/decrement a property in a flow?

  • December 6, 2021
  • 5 replies
  • 265 views

Forum|alt.badge.img+2

I’d like to create a property on a contact that acts as a counter. When a specific event happens, the property for that contact should get incremented. When another event happens, the property should get decremented. Is that possible? I only see the option to assign a specific value to a property.

Best answer by stephen.trumble

Hey @mreall 

Thank you for reaching out to the Klaviyo Community for help with this!

Each integration delivers event data in slightly different ways. The key thing to remember that Klaviyo is only receiving event data for what has been coded to send from the third party integration with Klaviyo. If there is a way to accomplish this through your third party platform, custom profiles property can be updated in this manner. However, Klaviyo does not automatically update profile properties without an event sent from your integration.

View original
Did this topic or the replies in the thread help you find an answer to your question?

5 replies

stephen.trumble
Community Manager
Forum|alt.badge.img+60
  • Community Manager
  • 1518 replies
  • Answer
  • December 7, 2021

Hey @mreall 

Thank you for reaching out to the Klaviyo Community for help with this!

Each integration delivers event data in slightly different ways. The key thing to remember that Klaviyo is only receiving event data for what has been coded to send from the third party integration with Klaviyo. If there is a way to accomplish this through your third party platform, custom profiles property can be updated in this manner. However, Klaviyo does not automatically update profile properties without an event sent from your integration.


Forum|alt.badge.img+2
  • Author
  • Contributor II
  • 4 replies
  • December 7, 2021

Hi @stephen.trumble, thanks for your reply. I understand that an event is required to update a property. The problem is that when the event happens, I can only set a property to a fixed value. I can set it to a value relative to what it already is. For example, it would be helpful to increment a custom property by 1 every time an event is triggered.

 

It sounds like it isn’t possible at this time. Thanks for your help.


Forum|alt.badge.img

Hey @mreall!

2 years later, searching for the same thing! Any luck?

 

TIA!


Forum|alt.badge.img+2
  • Author
  • Contributor II
  • 4 replies
  • February 15, 2024

@akshat.thedripstory, sadly I still don’t have a solution using a Klaviyo flow.


stephen.trumble
Community Manager
Forum|alt.badge.img+60

Hey @mreall @akshat.thedripstory 

Thanks for the followups to this thread. Take a look at these Help Center docs on using the Update Profile Property action in your flows:

Update profile property action use cases reference

How to update a profile property when someone clicks a link

How to add an update profile property action to a flow

This product feature was not available at the time of the original response but might work for what you are trying accomplish.