Salesforce Platform events using Pub/Sub API

I saw in other threads that long polling isn’t supported in n8n when using the CometD client. There is a newish API called Pub/Sub API that might be something worth exploring.

Just wanted to check if gRPC and HTTP/2 is supported by n8n?

Salesforce Documentation:

Hi,

From what I can gather from the forum, http/2 is supported but gRPC isn’t supported natively, only through externally imported libraries (code node).

Anyway, I guess for the Salesforce pub/sub system to work, someone needs to create a new type of trigger node to subscribe and a specific node to publish.

reg,
j.

Thank you J. I’m interested to know what this takes to build the trigger node. Is this something the community can build or does it have to be built by n8n? I’m guessing there needs to be enough demand for this for them to build this.

Hi, it can be build by the community.

e.g. for a custom trigger:
https://medium.com/@jovial_brass_otter_147/introduction-to-developing-an-n8n-trigger-node-1a286bbd0abd

for a custom node there is also a starter pack as an example.

reg,
j.

Great thank you @jcuypers!

I’m wondering if there is an ideas section in case n8n team is interested in building it out. It would be great to see this.
#Update

I found it!