Skip to main content
May 17, 2024
Solved

Regarding trigger flow based on profile property update

  • May 17, 2024
  • 20 replies
  • 380 views

Hello,

is it possible to trigger flow based on profile property update via API without segment or list metrics?

    This topic has been closed for replies.
    Best answer by KeviSunshine

    @yagniksolanki108 what do you mean there is not a trigger email step? You should be able to drag a “Send Email” step into your flow for this trigger, no?

    20 replies

    KeviSunshine
    Expert Problem Solver III
    Expert Problem Solver III
    May 20, 2024

    Hi @yagniksolanki108,

    I forgot that I went through this same step and asked the same question a couple years ago. You can’t use a variable in the Update Profile Property step, but you can use one for Webhooks. This post explains the basics: 

     

    For your situation, you would use “{{ event.custom }}” instead of “{{ person.variable }}”.

    May 20, 2024

    Thanks you very much @KeviSunshine 

    Sure, i will try your solution and i hope this will work as my expectation

    May 21, 2024

    Hello @KeviSunshine 
     

    I have added webhook step into flow but as per mention track profile api currently deprecated so please let me know which Destination URL add into webhook step.

    Track & Identify API Deprecated


    And please let me know alternate way to achieve this ?

    Thanks in advance!

    KeviSunshine
    Expert Problem Solver III
    Expert Problem Solver III
    May 21, 2024

    Hi @yagniksolanki108,

    Okay, you’re right, that API is deprecated. Let’s take a step back. What’re you trying to achieve?

    When you trigger an event, you can add event properties and update a profile’s profile properties at the same time.

    I think what you want to do is trigger an event that with the event property `custom`, but also update the profile property with the same `custom` value.

    What do you want to do next in your flow? Send them an email?

    May 21, 2024

    Yes, basically i want send klaviyo email based on value update from database so as per klaviyo we need to create flow and trigger event like update profile property value than send email to relevance profile regarding updated value.

    KeviSunshine
    Expert Problem Solver III
    Expert Problem Solver III
    May 21, 2024

    Okay cool, is your event updating the profile property when it’s triggered? The code you shared above makes it seem like it is.

     

    What’re you trying to achieve next?

    May 21, 2024

    No, currently not working based on trigger event manually from postman but if we use default metrics like place order, checkout, etc then it works well.

    KeviSunshine
    Expert Problem Solver III
    Expert Problem Solver III
    May 21, 2024

    Which part isn’t working on the manually triggered API call from Postman? The profile properties being updated?

    May 22, 2024

    Profile property updated while call event api but in flow there is not trigger email step

    KeviSunshine
    Expert Problem Solver III
    Expert Problem Solver III
    May 22, 2024

    @yagniksolanki108 what do you mean there is not a trigger email step? You should be able to drag a “Send Email” step into your flow for this trigger, no?