Question

How do I reply to emails with outlook?


How do I reply to emails with outlook?

Reply is not an option but sending a new email is. I looked into the API Request Beta.

I am using https://graph.microsoft.com/v1.0/me/messages/{ID}/reply

With a body of:

{ "message":{ "toRecipients":[ { "emailAddress": { "address": “{From Email Address} "
, "name":"{1. From Email Address Name} “ ] },
"comment": "Samantha, Randi, would you name the group please?" }



_________

What is the correct way to go about this?


This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

15 replies

Userlevel 7
Badge +14

Hi @calipsobanks1 

Good question.

You can use this Zap action: Outlook - API Request

 

Hi @calipsobanks1 

Good question.

You can use this Zap action: Outlook - API Request

 

Thanks for the response, I am using the API Request (Beta) - “Reply is not an option but sending a new email is. I looked into the API Request Beta.”

Userlevel 7
Badge +14

@calipsobanks1 

Add the URL to the URL field.

Add the JSON to the Data field.

@calipsobanks1

Add the URL to the URL field.

Add the JSON to the Data field.

Thanks again lo But I did

 URL: https://graph.microsoft.com/v1.0/me/messages/{ID}/reply

With body of:

{ "message":{ "toRecipients":[ { "emailAddress": { "address": “{From Email Address} "
, "name":"{1. From Email Address Name} “ ] },
"comment": "Samantha, Randi, would you name the group please?" }

ERROR:
Failed to create a http request in Microsoft Outlook
Raw request failed.

------------------------------------
Full Call Part 2
 

 

Userlevel 7
Badge +14

@calipsobanks1 

Make sure to reference the Outlook API endpoint documentation: https://learn.microsoft.com/en-us/graph/api/message-reply?view=graph-rest-1.0&tabs=http#http-request

 

This is the URL: https://graph.microsoft.com/v1.0/me/messages/{ID}/reply

You need to map the dynamic variable for the {ID}.

 


 

@calipsobanks1

Make sure to reference the Outlook API endpoint documentation: https://learn.microsoft.com/en-us/graph/api/message-reply?view=graph-rest-1.0&tabs=http#http-request

 

This is the URL: https://graph.microsoft.com/v1.0/me/messages/{ID}/reply

You need to map the dynamic variable for the {ID}.

 


 



Thanks for the response, I have followed the example. 
Does this code work for you?
 

 

Userlevel 7
Badge +14

@calipsobanks1 

Looks like you are using an outdated version of the Outlook Zap app.

Try updating the Zap step to use the newest version of the Outlook Zap app.

 

@calipsobanks1

Looks like you are using an outdated version of the Outlook Zap app.

Try updating the Zap step to use the newest version of the Outlook Zap app.

 

Interesting observation. I ran the same code for verification of solutions and I do not see (1.11.0)

The url says it is using v1.0 which in on part to the documentation but to entertain the idea of updating the zap? I am not familiar of how zaps can be updated? I thought Zapier does this automatically as a platform?

 

 URL - https://graph.microsoft.com/v1.0/me/messages/{ID}/reply

Userlevel 7
Badge +14

@calipsobanks1 

You can check your Zap app connections here: https://zapier.com/app/connections

If you see a Zap app step with (version #s), then that means there is a newer Zap app version available.

You have to manually update your Zap steps to newer Zap app versions, as newer Zap app versions could have breaking results.

 

@calipsobanks1

You can check your Zap app connections here: https://zapier.com/app/connections

If you see a Zap app step with (version #s), then that means there is a newer Zap app version available.

You have to manually update your Zap steps to newer Zap app versions, as newer Zap app versions could have breaking results.

 



I feel pretty confident that the app version is up to date as the Zap and account is pretty new. By chance have you tried the Outlook API beta? I have confirm the Zap is with GET calls but I seem to have no luck with POST calls. Could you show me an example of one you have done? 

 

 

Userlevel 7
Badge +14

@calipsobanks1

If you have a Zapier paid plan, you can open a ticket with Zapier Support: https://zapier.com/app/get-help

 

I use Gmail, which has a Reply to Email action.

 

 

Userlevel 7
Badge +14

@calipsobanks1 

Try this...add a Header

Content-Type: application/json

 

Any update on this? Was it resolved? It would be much easier to just have a ‘reply to email’ action no? Is that on the roadmap

Userlevel 7
Badge +14

@hbaig27 

Features and feedback can be submitted via a ticket to Zapier Support: https://zapier.com/app/get-help

Userlevel 1

I ran into this same problem (GET requests work fine, POST/PATCH do not).

I added an “Additional Request Header” of “Content-Type: application/json” and it works.

Thanks Troy 👍