How to convert a path string to IResource?

Hi everyone,
I’m working with Google WorkSpace Send Email
I am trying to pass a file path to attachment(s) but it has type (InArgument<IEnumerable>)

File path: D:\TEST.txt

Can you help me?
Thanks in advance,

Hi @Tuannna1

Give a try with



try adding {“path”} and check if it is accepting

other wise create one variable of ienumberable and the path to it


I tried and got the following error:

[Compiler error(s) encountered processing expression "{"D:\TEST.txt"}".
(2) : error BC36754: ‘String()’ cannot be converted to IEnumerable(Of
IResource) because ‘String’ is not derived from 'IResource’ as required for the 'Out'
 generic parameter 'T' in 'Interface IEnumerable(Of Out T)'.


Can you try Path Exists activty as the following?


1 Like

This is the solution :white_check_mark:. Thank you very much :man_bowing:

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.