Combining Multiple Translations with Text Aggregator

What are you trying to achieve?

I want to automatically collect job offers (e.g. dishwasher, kitchen helper, warehouse worker) with Apify.
Then I want to translate each job offer into four languages: German (original), English, Italian, and Arabic – using TextCortex AI.
After that, I want to combine all four versions into one message using the Text aggregator (Tools).
Finally, I want to send this message by email via Outlook.

Steps taken so far

I started by setting up an Apify actor to collect job offers from a job website.
Then, I used a Get Dataset Items module in Make to fetch the job offers.
After that, I added an Iterator to process the offers one by one.

To translate each offer, I added a Router that splits the flow into different paths.
I created three TextCortex AI modules to translate the offers into German, English, and Italian.

Now I want to combine all three translations into one message using a Text Aggregator (Tools module), so I can send them together in one email.
The problem I face is: I don’t know how to connect more than one TextCortex module to the same aggregator.

I tried to drag lines from the English and Italian modules to the aggregator, but it didn’t work.
Only one connection is allowed,
That’s why the aggregator only includes the German translation so far.

Now I’m stuck — I can’t figure out how to collect all three translations in one message and continue the flow. And i an not so good in this, no kidding, very bad, can soemoen help please

Screenshots: scenario setup, module configuration, errors


Hey @BC2,

One way you can do it here, is to add a “set variable” module after each textCortex module.

Then create a 4th route to your router, and use the “get multiple variables” module to get all of the 3 variables.

Then, you can add the Outlook module after that one, and you should be able to map all of them in Outlook :wink:

Hope that sends you in the right direction!

Thomas
Nola Digital

1 Like

Hi, sorry to bother you – something still isn’t working.
Could you please take a look at it? I’m not getting any emails, and there’s no error message showing either.
Do you have any idea what might be going wrong?

At first glance, it looks like you’re passing an empty array to your iterator. As nothing after that seems to be processing anything.