I’m trying to create a daily automation where I extract content from three different web pages and send one summarized message to Telegram.
Currently, I use an AI agent to summarize each web page separately, which results in three different Telegram messages. However, I want to merge the content from all three web pages first, then let the AI evaluate and summarize everything together, and send just one Telegram message.
How can I properly combine the data from all three sources before passing it to the AI and then sending the result to Telegram?
How do you feed data into the AI Agent? 3 inputs or 1? Do you query pages from within AI Agent? Share anything, please? Try to embed your workflow for us to look at.
Depending on how you wanna structure the workflow, there are multiple ways of doing it.
Easiest way would just be having 3 sequential steps, then one step to reference the output from the previous steps
If you might have varying length of list, you can also make it more elegant like this:
In the second example, the Split Out node will break the list of urls down into individual items and run them through the Get Webpage node separately. That means if you have 10 urls, that node will be executed 10 times. The Aggregate node then combine them back into one so you can pass it as one input to the AI Agent for summarising.