Skip to main content
Question

Flow trigger filter profile-not-in-flow gives error when trying to adjust it

  • December 8, 2025
  • 7 replies
  • 46 views

Forum|alt.badge.img

Hi,

 

When copying the flow which contains trigger filter :

  • Has not been in flow at any time 
    API response with filter applied

     

The flow is being copied without a problem, but then when I try to adjust the trigger filters in copied flow I get error such as:

Error displayed when trying to apply filters

 

Filters itself


The workaround: delete the “Has not been in flow at any time” filter and re-add it manually by hand before publishing flow. Although workaround is working, it is an extra step, which involves human labour. Presumably an issue is in your backend service. Maybe I am doing something wrong? Or when can be this issue resolved?

Thank you for your time!

7 replies

cadence
Expert Problem Solver II
Forum|alt.badge.img+8
  • Expert Problem Solver II
  • December 8, 2025

@smiltiszilinskas, sounds like a bug on Klaviyo’s side. How are you copying the flow? By cloning in Klaviyo’s UI or cloning via API or creating a net-new flow via API? 

Cadence / Book a demo


Forum|alt.badge.img

@cadence Hi, I am cloning it with https://a.klaviyo.com/api/flows POST request. I have checked the original flow payload and the created one, the profile_filter.condition_groups are exactly the same. The flow copies good all filters are there, just its broken.


cadence
Expert Problem Solver II
Forum|alt.badge.img+8
  • Expert Problem Solver II
  • December 8, 2025

@smiltiszilinskas, thanks for clarifying! Helpful context. Very likely a Klaviyo bug vs. you doing something wrong here, given that context. cc ​@Byrne C 

 

Cadence / Book a demo 


Forum|alt.badge.img

@Byrne C Hi, maybe you have some insights?

 


Byrne C
Community Manager
Forum|alt.badge.img+27
  • Community Manager
  • December 9, 2025

Hi ​@smiltiszilinskas,

Thanks for sharing the issue you’re experiencing. I just tried to replicate this in my test account, and did not receive an error - I was able to successfully update the flow’s profile filters without seeing an error message. To make sure I’m following the exact same steps you took, I’ll write out the steps I took:

  1. Created a flow with the profile filter “Has not been in this flow at any time.” To keep the flow simple, I made “Checkout Started” the trigger, and just added one Profile Property action below the trigger. No emails, time delays, splits, ect.
  2. Got the json of the original flow by replacing /edit with .json in the flow’s URL
  3. Used that JSON in the Create Flow request
  4. Send the request to Klaviyo and then go to edit the profile filters of the new flow inside Klaviyo, directly in the UI
  5. Change the “Has not been in this flow” filter to 30 days.
  6. No error message happens.

Were the steps I took different from the steps you took? Additionally, what API revision were you using? Finally, although it may seem silly, did you try making these edits in an incognito tab? To send this over to our engineers, we’d just need to make sure it’s 100% not a browser issue.


Forum|alt.badge.img

Hi ​@Byrne C ,

Thank you for quick response. I have recreated your step just a bit adjusted.

First of all, I am using 2025-10-15 revision on all the requests. All the steps in the browser were done with Incognito mode.

Secondly, I followed these steps to recreate issue:
1. Create flow(attached image) with two filters, one of it being “Has not been in this flow at any time”(ss attached)

  1. Go to json of original replace /edit with .json in the FLOW’s URL and copy only this part as I can’t include id, status, archived, created, updated, trigger_type, relationships, links in my request:
    {
    "data": {
    "type": "flow",
    "attributes": {
    "name": "Flow - Dec 9, 2025, 6:20 PM",
    "definition": {
    "triggers": [
    {
    "type": "metric",
    "id": "WwbinE",
    "trigger_filter": null
    }
    ],
    "profile_filter": {
    "condition_groups": [
    {
    "conditions": [
    {
    "type": "profile-not-in-flow",
    "timeframe_filter": {
    "type": "date",
    "operator": "alltime"
    }
    }
    ]
    },
    {
    "conditions": [
    {
    "type": "profile-property",
    "property": "location['city']",
    "filter": {
    "type": "string",
    "operator": "equals",
    "value": "A Coruña"
    }
    }
    ]
    }
    ]
    },
    "actions": [],
    "entry_action_id": null
    }
    }
    }
    }
    1. Got the response of created 201:
      {
      "data": {
      "type": "flow",
      "id": "R2SnER",
      "attributes": {
      "name": "Flow - Dec 9, 2025, 6:20 PM",
      "status": "draft",
      "archived": false,
      "created": "2025-12-09T16:32:00.785409+00:00",
      "updated": "2025-12-09T16:32:00.791448+00:00",
      "trigger_type": "Metric",
      "definition": {
      "triggers": [
      {
      "type": "metric",
      "id": "WwbinE",
      "trigger_filter": null
      }
      ],
      "profile_filter": {
      "condition_groups": [
      {
      "conditions": [
      {
      "type": "profile-not-in-flow",
      "timeframe_filter": {
      "type": "date",
      "operator": "alltime"
      }
      }
      ]
      },
      {
      "conditions": [
      {
      "type": "profile-property",
      "property": "location['city']",
      "filter": {
      "type": "string",
      "operator": "equals",
      "value": "A Coruña"
      }
      }
      ]
      }
      ]
      },
      "actions": [],
      "entry_action_id": null
      }
      },
      "relationships": {
      "flow-actions": {
      "links": {
      "self": "https://a.klaviyo.com/api/flows/R2SnER/relationships/flow-actions/",
      "related": "https://a.klaviyo.com/api/flows/R2SnER/flow-actions/"
      }
      },
      "tags": {
      "links": {
      "self": "https://a.klaviyo.com/api/flows/R2SnER/relationships/tags/",
      "related": "https://a.klaviyo.com/api/flows/R2SnER/tags/"
      }
      }
      },
      "links": {
      "self": "https://a.klaviyo.com/api/flows/R2SnER/"
      }
      },
      "links": {
      "self": "https://a.klaviyo.com/api/flows"
      }
      }
      1. Went to newly created flow
        1. !IMPORTANT EDIT NOT THE HAS NOT BEEN IN FLOW AT ANY TIME but any other profile filter, so in this case I edited city to Helsinki
          1. Tried to save changes and received an error 

             


Byrne C
Community Manager
Forum|alt.badge.img+27
  • Community Manager
  • December 10, 2025

Hi ​@smiltiszilinskas,

Thanks for detailing the steps you took! I was able to replicate the error, and I reached out to our team letting them know about this. Will follow up once I have an update!