We have a use case where we need to extract the final confirmed address, date, time, and confirmation method from an email conversation thread.
The email chain contains communication between two people:
One person requests confirmation of the details.
The other person replies with the confirmed information.
Our requirement is to identify and capture the latest confirmed values for:
Address
Date
Time
Confirmation method
The challenge is that the information may appear across multiple replies in the conversation, so we need to determine the final confirmed details from the complete email thread.
@himani.himani
This looks like a good fit for an agent, since the values are not always in one fixed place and the latest reply may override earlier information.
I would pass the full email thread to the agent and clearly tell it to look for the final confirmed address, date, time, and confirmation method — not just the first values it finds.
Also, the prompt should mention to ignore old or tentative details and only return the values that are confirmed in the latest relevant part of the conversation.
For production, I would still keep some validation, especially for date/time and missing values, because email threads can be messy.