Array, object variable problem in flow

Hi there,
I have been trying on and off for the last two days and can’t get past this problem. I would really appreciate some help.

Scenario:
I receive an email with attachments:

my flow:

Once my flow is triggered, it checks if the attachment name contains the text ‘ZHPR’. The true/flase result is working as expected.
The problem is the next step which I can’t get past.
Here is the error message:

I need the two ZHPR files to be passed to the next action however keep getting string/object error messages. From what I have read, it needs to be in an array format?

Any suggestions how to fix?

Bumping this post for more visibility from our experts and users.

Hi @KimC,

See if this is helpful

Hello @KimC

Did the responses above help solve your query?

If not, can you let us know where you’re stuck and what additional assistance you need?

If it did, please mark the answer as the SOLUTION by clicking the three dots beside Reply and then tick the check box beside SOLUTION

Thank you

Hi,
I plan on looking at it over the weekend so will give an update soon.

Thank you