I’m building a workflow to summarize slack threads. In the output of the summerization chain node, I would like to include specific data from the input data so that I can map the response to an item from the input. Is this possible? I can’t figure out how to change the structure of the response, and there is nothing in the response that I can use to merge the input and output. Perhaps there is another stratgey?
Specifically, in my case, I have an input
"parent": {
{
"messageText": "Hey, have you ever visited the Egyptian pyramids?",
"userId": "a user id",
"timestamp": "1743511848.919049"
}
},
"replies": [ {a reply}, {another reply}, ... ]
and an output
{
"response": {
"text": " Jamie and Alex discuss the mystery and history of the Egyptian pyramids, including the construction and theories involving the use of ramps, despite certain unknowns. "
}
}
I want the timestamp included in the response.
Thanks in advance