はじめてのオートメーションをわずか数分で作成できます。Studio Web を試す →
作成者: UiPath
31
アクティビティ
72.4k
Hi Mihai,
Can u please attach a sample xaml code file for me to understand it better. I am trying to access gmail using Oauth. Have generated the client id and client secret . Still unable to run. It is opening browser, then each step i have to click one by one to provide access to my mail. And then it is stopping. What to provide in the user option in the oauth client id?
Hi Debashish,
The user field is used in the storage of the Token Response object. You can write the name of the user or a unique identifier for a particular user who is going to log in. For example, a single set of Credential Id/Credential secret can be used by multiple users of the same organisation. If you want a robot to remember both users (say their names are John A and Martin B) such that the consent screen is not displayed, set two unique strings in the user field and switch between them as needed. The strings can reflect their names (like 'johna' or 'martinb') or can simply be '1' and '2', as long as you remember that 1 is John and 2 is Martin!
Regarding the activity stopping after you have clicked the consent screen, we've never encountered this so i need more info to help.
Great activity pack, thank you.
I am using the Read Cell actvity which works really well for static cell values.
As soon as the cell is based off of a formula or lookup, nothing gets returned using the Read Cell activity.
For example:
Any ideas on the above?
Hi Shaun,
First of all, sorry for the late reply! I have tested the Read Cell activity as well as asked our QA team to test it, and we cannot replicate the behaviour you are getting.
In our test, we read a cell that was the result of a formula using other cells (one example is A1:A16 have values and A17 = SUM(A1:A16)). When we read cell on A17 it correctly returns the value calculated by the SUM formula.
I have no idea how i can help further, since we are unable to replicate the issue, but if you still have not been able to solve it drop me an email and we can take this to a private channel!
Best regards, Mihai
Hi,
is there a possibility to use Read Range activity for Spreadsheets, as in standart Excel activity - specifically the range property; in Excel it gives you possibility to write only starting cell position (e.g. "A4"). Here to my mind, it behaves as Read Cell activity, while using such format of range.
Thanks for help,
Rudolf
The 'Range' and the 'SheetName properties taken together form the A1 notation, which is also used by Microsoft Excel. So the answer is that yes, you have the same functionalities as in the Excel activities.
Read the A1 notation heading to understand more, it's very flexible (you need to scroll to A1 notation):
While using "Search for Files and Folders" I get the output if I only search by "mime-type" but I obviously have +1 file in the folder and am not able to concatenate different parameters in q (anyway, the name-related ones don't work).
If it's not possible for some reason, the other option would be to use the output array. Then the question is how to identify the "fields" to create the condition to retrieve the fileId for the specified file_name?
Thanks in advance for your help
Hi Natalia,
This is the official page for the search parameters: https://developers.google.com/drive/api/v3/search-files
The name parameters in the search do work, so my suspicion is that you did not use the recommended '' to enclose the values of the parameters. So, to search for all the files matching two name patterns, you can do name contains 'hello' and name contains 'goodbye'
You can combine the parameters in complex ways:
'1234567' in parents and name contains 'hello'
Hello everyone
I am trying to understand and to use the Google suite activities with UIPATH, (specially for reading mails with our company mailing system). I have some issues with the different parameters to put. I wonder if somewhere, there are some documentation about what to install first on the mail server side (API...).
What are the different steps to use this activity !!!
Thanks a lot for any help or advise you can provide.
Regards
William MATAR
Hi William,
The documentation for each activity is available if you press F1 while having said activity selected.
Here is a link from the about page, where you can learn about setting up your account on the server side:
https://activities.uipath.com/docs/about-google-gsuite-activities
Hope that helps!
Hello Mihai,
great activity really simplifies my gmail sending. Have a possible strange bug that I wanted to ask you about. I have an application that generates an email and attaches a file. After I send the email I move the file to a sent location. 9 times out of 10 this works flawlessly, but sometimes I get an IOException saying the files is locked and can't be moved. I've put delays in after the send and it still fails. Any ideas? Thanks.
Hi James,
The activities inside the scope function asynchronously and what is probably happening is that the attachment file is still locked for some time since the release is async too.
A solution is to create a workflow with a try catch block that catches io exceptions, and if the file is locked you can wait some time and then retry the same workflow again. You can even make the retry count variable.
I am going to look at the code just to make sure it's ok, but the above solution should work perfectly!
Hello Mihai,
great activity really simplifies my gmail sending. Have a possible strange bug that I wanted to ask you about. I have an application that generates an email and attaches a file. After I send the email I move the file to a sent location. 9 times out of 10 this works flawlessly, but sometimes I get an IOException saying the files is locked and can't be moved. I've put delays in after the send and it still fails. Any ideas? Thanks.
Duplicate question
Hi Mihai,
This looks like a solid package . My question is about roadmap. Are you working on future versions and if so what kind of features can we expect? Just to get a sense of it.
regards,
Gaurav
Hi Gaurav,
The next update with focus on sheets, aiming to bring it more in line with the features we have in the UiPath.Excel.Activities package. This means formulas, range operations, copy operations, row and column operations.
Hello all,
I am trying to create folders in my own Drive. I manage to do so by using the Open Browser activity + pointing out where the robot must click and what it has to type in. In order to do that faster, I installed the GSuite Activity, generated a JSON authentication file from my own account (ServiceAccountKey), and I'm using the Create Folder Activity from this library. Every thing seems to work fine except that nothing is actually on my Drive account.
What am I missing out?
Hi Valentin,
This is actually normal behaviour. Think of the service account as a role more than as a user. In any case, even if it were a user, it would not be "your" user. If you use the Find Files and Folders activity you will see it has his own drive.
So if you do decide to use a service account you will have to share files/folder with it to grant it access to whatever you want to modify.
More information and helpful links explaining account types here: https://integrations.uipath.com/docs/google-suite-about
How can i fetch google calendar in Uipath so that i can schedule my robots accordingly
Hi Anurag,
Here is the link to the search events documentation: https://integrations.uipath.com/docs/search-events
As you can see, if you enter nothing in the CalendarID input field, your own calendar (anurag.srivastava@examplecompany.org) will be used. If you want to use another calendar input it in that field (robots@examplecompany.org)
Then you can read the event metadata and run a start job on the robot matching the criteria you imposed on the event details.
Hope i have understood the question correctly, good luck!
Hello again, I got the google sheet working. Thank you for your reply. But now, I'm having an issue with the Gmail send activity. I am using the service account role as well for the service key but I am encountering unauthorized client error. Here is the screenshot: https://forum.uipath.com/t/gsuite-gmail-activity-unauthorized-client-error/119408
Hi Fatih,
For the full answer, see the forum thread you opened.
In short, you cannot use Gmail with a service account. Use OAuth2 Client Id Authentication and it will work!
Hello, I am trying to read/edit a google sheet that is shared with the robot but I am having an issue. Is this feature supported? And if yes, maybe my service account key role is not correct. Can you tell me what role should I give to the robot to do this?
Hi Fatih,
The Service account is a role, and as such will appear to have only one file in it's drive, getting started.pdf
If you think about it, think makes sense, since the service account is not the OAuth2 user you personally use to work on files.
Now, this only means that, even though the service account is part of the organisation, the files are not shared with it.
The solution is to use the permissions activities and shared the file with write access to the service account.
技術情報
バージョン
3.1.10-preview更新日
2025年5月4日対応製品
Studio: 21.10 - 22.10
認定
ゴールド 認定済み
タグ
コレクション
サポート
リンク: https://www.uipath.com/company/contact-us/contact-technical-supportUiPath Standard Support, see your Service Agreement