有没有办法在没有轮询的情况下在Office 365中收到电子邮件时触发Azure Logic应用程序? [英] is there a way to trigger an Azure Logic App when an email is received in Office 365 without polling?

查看:70
本文介绍了有没有办法在没有轮询的情况下在Office 365中收到电子邮件时触发Azure Logic应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的目标是编写一个Microsoft Bot Framework bot,它是通过收到带附件的电子邮件启动的。

我写过Bot Framework机器人,所以都设置了那个部分。

我的机器人可能不经常被调用,但是当它发生时,我希望它尽快回应。在接收
电子邮件的代码开始处理之前一分钟的延迟太长了。

如果我理解正确,则每次调用标准连接器的逻辑应用程序成本(例如Office 365电子邮件)是0.000125美元。每天1,440分钟。每
每月$ 5.40,每分钟拨打一次电话来审核Office 365电子邮件帐户。响应时间为30秒,成本翻倍。

是否有更便宜的方法来执行此操作?

Microsoft可以控制Office 365电子邮件收件箱。  Exchange(或任何服务器调用的)知道何时收到电子邮件。 收到电子邮件而不是轮询数千次时,是否有某种方法可以触发Logic App?

Microsoft has control over the Office 365 email inbox.  Exchange (or whatever the server is called) knows when an email is received.  Isn't there some way to trigger a Logic App when an email is received rather than polling thousands of times?

谢谢!

Thanks!

Adam Leffert

http://www.leffert.com

Adam Leffert
http://www.leffert.com

推荐答案

我还没有建造它,但几个月前我读到了它,以为我会分享。你看过使用Microsoft Graph吗?看起来像是你想要实现的东西。
https://docs.microsoft.com/en-us/graph / webhooks

I haven't built it but I read about it a few months ago, so thought I'd share. Have you looked at using the Microsoft Graph? Seems like something similar to what you are trying to achieve. https://docs.microsoft.com/en-us/graph/webhooks

使用Microsoft Graph API,应用可以订阅以下资源的更改:

Using the Microsoft Graph API, an app can subscribe to changes on the following resources:





这篇关于有没有办法在没有轮询的情况下在Office 365中收到电子邮件时触发Azure Logic应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆