Skip to main content
dayn.johnson
VIP ⭐️⭐️⭐️⭐️⭐️
February 9, 2024
Discovery

New Dynamic JO Should Have Multiple Queries (just like older advanced JO)

Related products:CS Journey Orchestrator
  • February 9, 2024
  • 21 replies
  • 405 views

This idea is very similar to this post by @alizee made during the beta period for the new dynamic JO.

As the title says, there is a very popular use case for having multiple queries within a single JO program: multiple queries allow us to have a much higher level of control over the time different audiences are brought into a program, without having to calculate and rely on wait steps (and trust them not to misfire).

Most of our programs in the advanced JO have multiple queries (usually three): Americas, EMEA, and APJ. We use the Global Region field to determine the send time for those recipients, as neither a timezone field nor a billing country are reliable methods of determining when to send an email, and having a CSM emailing a client in the middle of the night doesn’t lend to the idea that the CSM is emailing them.

We also have some programs where we have slightly different audiences (standard support clients, premium support clients) receiving monthly check-in emails, and each of those audiences uses a different query, but is still part of the same program. Bringing both of those audiences into one program and then having to filter through conditional evaluate steps will further complicate things.

We prefer to use queries in our programs to have a higher level of control over the audience and the send time. Please consider allowing us to include multiple queries, just like we’ll be able to use multiple CSVs.

21 replies

bradybluhm
Gainsight Employee ⭐️⭐️
April 16, 2024

@vijay visibility on this

AI on my mind!
Stuart
Helper ⭐️⭐️
April 17, 2024

This is a feature regression compared to the old advanced JO, echoing the sentiment from other admins cloning JOs to achieve different segmentation is additional assets that shouldn’t be required.  Additionally, as Gainsight looks forward, how would it anticipate to migrate JOs to the redesigned JO where old programs utilize multiple queries and the new JO doesn’t support this functionality?

dayn.johnson
VIP ⭐️⭐️⭐️⭐️⭐️
April 18, 2024

as Gainsight looks forward, how would it anticipate to migrate JOs to the redesigned JO where old programs utilize multiple queries and the new JO doesn’t support this functionality?

 

Woooahh, @Stuart with the insightful question I hadn’t yet considered! Would love to hear the answer.

Staff CS Content & Comms Manager, 2x Gainsight CS Ops Product Council Member
vmallya
Gainsight Employee ⭐️
Gainsight Employee ⭐️
May 14, 2024
Updated idea statusNew IdeaDiscovery
Vijay | PM | JO | Gainsight
dayn.johnson
VIP ⭐️⭐️⭐️⭐️⭐️
June 18, 2025

@vmallya – thought of a potential workaround (at least for regional queries). Is there any update on how multiple queries will be handled in dynamic JO (and how our existing JOs might be migrated)?

Staff CS Content & Comms Manager, 2x Gainsight CS Ops Product Council Member
vmallya
Gainsight Employee ⭐️
Gainsight Employee ⭐️
April 27, 2026

Thank you for the detailed scenarios on this thread. Sharing a consolidated update on how each of the multi-query use cases can be handled in the new version of JO.

 

Regional and timezone-aware sending (@dayn.johnson , ​@sarahmiracle , ​@heather_hansen )  — in February 2024, we introduced the Action Execution Schedule feature in the new version of JO, which lets a program send at the local time of each recipient by reading a timezone field maintained on the participant, contact, or account record. This is designed to replace the need for separate region-specific queries. We understand the concern we have heard from some customers that this timezone attribute is not currently maintained in their data, which blocks adoption of the feature. We do not believe adding multiple queries is the right/accurate solution for timezone-based sending; the scalable path is a single program driven by a maintained timezone field. We would encourage teams to populate this attribute at the participant, contact, or account level so the Action Execution Schedule can deliver the per-timezone behavior this thread is asking for.

 

Audience segmentation inside a single program ​(@heather_hansen , ​@dayn.johnson ) — for conditional routing such as CSM/AM fallback, primary/secondary contact logic, or standard vs. premium tiers, the recommended pattern is to either use case statements in the query to derive the segmenting attribute - (we also extended case statements to support email data type), or use the Evaluate step to branch participants down different paths with distinct email configurations. Either approach achieves the same segmentation outcome within one program without requiring multiple queries.

On multiple daily executions, with the April 2026 release, the new version of JO supports participant sync multiple times per day, so programs can re-evaluate and enroll new participants at a higher cadence than the prior once-daily run.

 

Routing to both Primary and Secondary contacts from a single program ​(@mobrien14 ) — we believe this use case does not require multiple queries. A single query can UNION the Primary and Secondary contact email fields from the Account/Company record, producing two participant rows per account (one for each contact), which a single program can then enroll and email. If the contacts are modeled as separate Contact records with a role field, the same outcome is achieved with a single query and a role-based filter. Happy to walk through the query setup to validate this pattern.

 

Per-segment sender mapping (​@sarahmiracle )— this can be handled within a single program using two supported patterns: (1) an Evaluate step with per-branch sender configuration, branching participants by region, tier, or account owner and configuring each branch's email step with its own sender; or (2) email variants with local header configuration, where a single email step holds multiple variants, each configured with its own sender, and the variant is selected per participant using the same conditional logic. Either approach delivers the segment-specific "From" behavior that multiple queries previously enabled.

 

Workaround pain and staying on legacy Advanced Programs ​(@sarahmiracle , ​@romihache , ​@dayn.johnson )  — with the capabilities above (Action Execution Schedule, case statements, Evaluate branching, UNION support for multi-recipient queries, per-branch or variant-level sender configuration, and multiple daily participant syncs in the April 2026 release), the scenarios originally covered by multiple queries can now be handled within a single program. Teams should no longer need to maintain parallel programs or maintain multiple queries as source to achieve this behavior.

 

Migration from Advanced JO programs that rely on multiple queries (​@Stuart , ​@dayn.johnson )— ideally, with the patterns outlined above, a new single query can be authored directly in the new version of JO to cover the original multi-query scenario. For teams who would prefer to carry forward their existing query logic, we are solutioning an option to migrate selected queries into the new version. Further details on the migration path will be shared as the scope is finalized.

 

Please continue to share any gaps you encounter against these patterns, and we will keep this thread updated.

Vijay | PM | JO | Gainsight
angela_domenichelli
Contributor ⭐️⭐️⭐️⭐️⭐️
April 27, 2026

@vmallya thank you for this update.  I have provided feedback via the Product Council that I do not believe is covered in these new workflows.  Are you also considering the Product Council feedback, or should I also document here?

Angela Domenichelli (She/Her/Hers)
bradley
Expert ⭐️
April 27, 2026

@vmallya thank you for this update.  I have provided feedback via the Product Council that I do not believe is covered in these new workflows.  Are you also considering the Product Council feedback, or should I also document here?

Yea, I like the update would would have appreciated acknowledgement of the continued gaps we already brought up with you in product council, rather than making it seem like this issue is resolved. We got a lot of great individual features, that are slowly replacing one functionality (while adding some additional capability along the way).

vmallya
Gainsight Employee ⭐️
Gainsight Employee ⭐️
April 28, 2026

@angela_domenichelli and ​@bradley, your Product Council feedback is very much on our radar and shaping where we take this next. We are coordinating a working session with the Product Council in the next 2 weeks to go through it together and make sure the remaining gaps are fully understood.

I have intentionally kept this thread open rather than marking it Released, because we do not consider this resolved until we have worked through your input with you. 

 

Vijay | PM | JO | Gainsight
angela_domenichelli
Contributor ⭐️⭐️⭐️⭐️⭐️
April 28, 2026

@angela_domenichelli and ​@bradley, your Product Council feedback is very much on our radar and shaping where we take this next. We are coordinating a working session with the Product Council in the next 2 weeks to go through it together and make sure the remaining gaps are fully understood.

I have intentionally kept this thread open rather than marking it Released, because we do not consider this resolved until we have worked through your input with you. 

 

Great to hear, thank you!

Angela Domenichelli (She/Her/Hers)