Expand my Community achievements bar.

Join us on September 25th for a must-attend webinar featuring Adobe Experience Maker winner Anish Raul. Discover how leading enterprises are adopting AI into their workflows securely, responsibly, and at scale.

Can we Export Audiences using flow service API after segment evaluation?

Avatar

Level 2

HI All,

I want to export audiences after batch evaluation to cloud destinations. I was able to do this for scheduled using flow service API's.

In UI I can see the after segment evaluation option to schedule my audiences. But ca we achieve the same using API's?.

JathiRatnalu_0-1748903987482.png

 



Topics

Topics help categorize Community content and increase your ability to discover relevant content.

5 Replies

Avatar

Level 4

Hi @TheFinder1 

 

Not possible to use after segment evaluation export option if you are using the flow service API. 

 

After segment evaluation is whenever the new audiences qualified to make sure the audience is updating to latest data.

 

while you pass to S3 bucket or any cloud where native connection is not there, it batch only now.

 

Screen shot:

 

Imbalakumar_0-1748921378925.png

 

 

Refer this - https://experienceleague.adobe.com/en/docs/experience-platform/destinations/api/update-destination-d...

 

 

Thanks,

Bala

Avatar

Community Advisor

Hi @TheFinder1 , 

 

As @Imbalakumar mentioned, currently it's not possible to configure the "export after segment evaluation" option when setting up a destination connection via the Flow Service API.

However, if your audience is batch-based, it's typically evaluated once daily—usually in the early morning—unless a manual execution is triggered (which is limited and not standard practice). In most cases, batch evaluation completes around 2 AM UTC, so you can safely assume 3 AM UTC as a buffer.

To replicate the "after segment evaluation" behavior, you can schedule a Flow Service API request to trigger the dataflow around 3 AM UTC. While this is not truly event-driven or real-time, it closely aligns with the evaluation timing and should meet your requirements effectively.

Hope this helps.

Kind regards,
Parvesh

Parvesh Parmar – Adobe Community Advisor
https://www.linkedin.com/in/parvesh-parmar/

Avatar

Administrator

@TheFinder1 Just checking in — were you able to resolve your issue?
We’d love to hear how things worked out. If the suggestions above helped, marking a response as correct can guide others with similar questions. And if you found another solution, feel free to share it — your insights could really benefit the community. Thanks again for being part of the conversation!



Kautuk Sahni

Avatar

Level 2

Yes, Its possible. We have trigger type " AFTER_SEGMENT_EVAL" to use

Below is the payload to activate audience to a dataflow.

[
    {
        "op": "add",
        "path": "/transformations/0/params/segmentSelectors/selectors/-",
        "value": {
            "type": "PLATFORM_SEGMENT",
            "value": {
                "name": "Audience Name",
                "description": "Audience Description",
                "id": "Audiecne ID",
                "filenameTemplate": "File name,
                "exportMode": "DAILY_FULL_EXPORT",
                "schedule": {
                    "frequency": "ONCE",
                    "triggerType": "AFTER_SEGMENT_EVAL",
                    "startDate": "2025-01-01"
                }
            }
        }
    }
]

Avatar

Level 2