โ05-10-2023 08:03 PM
Dear all,
is there a way to set a category to an email using the outlook connector after downloading attached pdf files?
its basically the same as described here:
Stackoverflow: Add Outlook Category to mail via MS Graph
Thank you in advance
Regards,
Christian
Solved! Go to Solution.
โ05-11-2023 02:35 AM
Hi @ccontzen,
This is not supported by default, but through the custom action in the Outlook Connector you can achieve this:
The Outlook Connector is using the MS Graph API as listed here:
https://learn.microsoft.com/en-us/graph/api/message-update?view=graph-rest-1.0&tabs=http
In this custom action I'm using the following parameters:
Method: Patch
Path: https://graph.microsoft.com/v1.0/me/messages/{id}
Request: {"categories":["name"]}
Let me know if this works and is what you meant.
โ05-11-2023 03:20 AM
it looks like it works with a small change
="https://graph.microsoft.com/v1.0/users/USERID/messages/MESSAGEID
โ05-11-2023 02:35 AM
Hi @ccontzen,
This is not supported by default, but through the custom action in the Outlook Connector you can achieve this:
The Outlook Connector is using the MS Graph API as listed here:
https://learn.microsoft.com/en-us/graph/api/message-update?view=graph-rest-1.0&tabs=http
In this custom action I'm using the following parameters:
Method: Patch
Path: https://graph.microsoft.com/v1.0/me/messages/{id}
Request: {"categories":["name"]}
Let me know if this works and is what you meant.
โ05-11-2023 03:12 AM
Thank you for your support - it looks like it is not possible to shared mail accounts.
We are downloading attachments from a shared account and want to set a category to processed mails. Looks like its not possible...
โ05-11-2023 03:20 AM
it looks like it works with a small change
="https://graph.microsoft.com/v1.0/users/USERID/messages/MESSAGEID