Hi all, I have a few questions and a really strange problem with trying to get this working.
Question 1 and strange problem:
I have an agent that triggers on an incoming message and creates a draft answer but its supposed to create it in the shared mailbox.
I tried allowing login on the shared mailbox (i know) and using those credentials in the Draft email action. and i have tried using the Send HTTP agent flow to create the draft, but kind of work and kind of don't
The problem with Draft email action
1. If I use the Draft an email and set the connection credentials to the shared mailbox it works briefly but then switched back to my credentials, even when i save it shows the connection as the SM account but after a few refreshed the connection switched back to mine, which means the draft is being created in my mailbox instead of the shared mailbox.
2. When the email is drafted its always in plain text, and i have to manually switch to HTML.
The problem with the Send HTTP action agent flow:
1. When I test directly from chat it works perfectly, the draft gets created in the shared using my account creds. But when I send an email it fails with the error that Unable to read JSON request payload. Please ensure Content-Type header is set and payload is of valid JSON format.
2. It also only fails when I specify "nicely formatted" or "format in HTML" in the instructions. if I don't then it works but it's a wall of text.
I have tried all the different agents, i have tried rephrasing that in all types of ways but the minute i specify rich text of html the flow fails. I looked at the input for both a one that worked and one that failed in the flow, and it looks the same, content looks the same and json looks proper even chatgpt says they look the same, I've stripped it down and the problem is definitely with the body being sent.
Ultimately what I'm trying to do is an autonomous agent that monitors shared mailbox, creates a draft answer response to incoming emails and leaves it in the shared mailbox for the team to review.
Question 2: I noticed that drafts are brand new items, is it possibly to attach or reply but not send to the original message? For example, normally when hit reply but didn't actually reply it goes to the draft, but you can see the thread, with this its a brand-new message being drafted with the original message included in the body.
Question 3: Are agent flows included, and by included, I mean not being charged extra, in the $30mnthly license? The pricing table is a bit confusing.
Thanks.