My boss wants an AI assistant to read and draft responses to emails.
I am attempting to create a flow for when a new email is received, the email is read by chatgpt, a response is created, and a draft email is placed in the drafts folder of the mailbox.
I have setup a user account with permissions to the target account.
- Created a trigger for new email received Oulook365 and specified the target account
- Created an action for creating a text with ChatGPT a specified a custom prompt
- Created an action for reply to email v3
Obviously this doesn't work.
test run returned an error, of which this the first part.
"Action 'Create_text_with_GPT_using_a_prompt' failed: user with id 5cc655b9-97a6-ef11-8a6a-000d3a36bd07 does not have ReadAccess right(s) for record with id 8af5043b-563c-4e55-b103-7534bce77578 of entity AI Model. Consider assigning a role with the required access level to the user or team. "
It gave a url to check the access record which then returned
"Record form is not available
The record you are trying to access does not have a form to display. Please contact your administrator for assistance.
Error code: 0x83215611Session Id: ba3a3cfc-224d-4368-9c87-fa9aa4f738ddActivity Id: 8acd1d5a-ee9a-440f-9e14-2c7813ae45dcTime: Tue Jan 14 2025 15:59:40 GMT-0600 (Central Standard Time)"
One, has anyone set something like this up and if so, would you share your recipe?
Two, how do identify the user that needs permissions?
Three, any suggestions are welcome.