在Salesforce网站挂钩? [英] Web hook in salesforce?

查看:198
本文介绍了在Salesforce网站挂钩?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望当在Salesforce创建一个新的领导得到通知。有什么样网络挂接在Salesforce或其他方式来实现这一目标?

I want to get notified when a new lead is created in Salesforce. Is there something like webhook in Salesforce or some other way to achieve this ?

任何帮助是pciated AP $ P $

Any help is appreciated

推荐答案

是,大量的选择:)

有关SF为演员:


  1. 工作流规则,将火铅的插入和您发送电子邮件(或者,如果它是系统集成 - 出境消息)。

  2. 您总是可以编写一个插入后的Apex触发器,并在其标注为外部系统(SOAP和REST风格的API都支持)。虽然你需要一个额外的@Future把戏,因为在默认情况下触发器不应该发送标注(数据库提交/回滚应该不依赖于外部系统是否已经接受该消息或没有)。

对于外部系统作为演员:

For external system as actor:


  1. 只需在一段时间像池每一次[SELECT ID FROM WHERE铅和CreatedDate GT; :lastTimeIhaveChecked]

  2. 或者有相当近期的所谓流API 加法。基本上你定义一个PushTopic(查询你感兴趣)。偷窥的Salesforce在由它返回当前结果,每当结果改变,你会得到一个通知。我还没有发挥它尚未但你可以设置事件类型,以显示创造仅事件文档看起来。 这可能是最接近网络挂接

  1. Simply pool every once in a while for something like [SELECT Id FROM Lead WHERE CreatedDate > :lastTimeIhaveChecked]
  2. Or there's fairly recent addition called Streaming API. Basically you define a PushTopic (query that interests you). Salesforce peeks at the current results returned by it and whenever the results change you'll get a notification. I haven't played with it yet but seems from the docs you can set event type to show "created" events only. This might be closest to a webhook.

这篇关于在Salesforce网站挂钩?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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