Enhancement Request? Mock Output

I am curious if this has ever been brought up before. I would love to see the ability to to enter in more than one mock output and be able to toggle between which one is "live" in the flow. Specifically, for webhooks I try to consolidate as much as I can into a single webhook and then "route" them using branching based upon fields in the payload. The issue I run into is that I have to always copy/paste into the mock output depending on which payload I want to work with.

I would love to see some "options" where I could toggle between different payloads in the Mock Output section (you could put (for example) three different mock output options next to the "Populate with canonical stub" button where we could put a different payload for each option) instead of copying/pasting each time I need to work on a different payload. Has this ever been requested before?

3 Likes

Hi @daveguderian , this is a really great idea. I think I remember something along those lines being discussed at some point, but I don't remember the details.
I'll make sure your suggestion gets in front of our product team in the next couple of weeks.
Thanks.

Yonton Mehler
Sr. Dev
Celigo

@sreevaniamara is being shy, but she definitely has this on her roadmap. Ideally, any screen that gives you an input lets you toggle between different inputs. I'd also like to see the ability to name different mock records like "order with tax", "multi-line order", "order with discounts" and various other things so that when modifying a flow you can check if the new logic still works for various source structures. Eventually, this leads you down a path of test automations, but I think that a ways off.

1 Like

Awesome news! Thank you both!