Which key to use in the "Window buffer Memory" when there is multiple trigger?

Hello I have a problem in my workflow. I want my agent AI to be able to send me resume of the last mail receive in my inbox and to ask me which action to do (reply or delete) but I can have only one trigger key ID in my window buffer memory. When I put in the key:
{{ $(‘Telegram Trigger’).item.json.message.from.id }}
{{ $(‘Gmail Trigger’).item.json.threadId }}

There is an " Error in sub-node ‘Window Buffer Memory"

There is a solution for this?

Please share your workflow

Information on your n8n setup

  • **n8n version:1.80.5

You have to create a logic that supports multiple input sources.

Idea 1 - choose a session ID depending on the source

If the trigger is GMail, use the email as the session ID.

If it is telegram, use phone number as session ID.

Idea 2 - generate session ID

You can generate a random UUID (you can use the Crypto node for that)

You can then store the session ID in a database and use it multiple times, depending on who’s sending the message

:point_right: If my reply answers your question please remember to mark it as the solution

I have the same Issue

I think it’s something like it can’t access other nodes

Any idea