PipedreamHQ / pipedream

Connect APIs, remarkably fast. Free for developers.
https://pipedream.com
Other
8.54k stars 5.27k forks source link

[TRIGGER] Salesforce Pub/Sub Events #10212

Open jhaisley opened 5 months ago

jhaisley commented 5 months ago

Describe the event source. What app is this for, and what event does the trigger correspond to? Salesforce has a event bus, which supports a Pub/Sub API. It would be useful if Pipedream could subscribe to a topic and trigger based upon events for that topic, similarly to Pipedream's google cloud pub/sub support.

Please provide a link to the relevant API docs for the specific service / operation this trigger is tied to. https://developer.salesforce.com/docs/platform/pub-sub-api/overview

https://github.com/pozil/pub-sub-api-node-client

jcortes commented 5 months ago

I'm moving this one as blocked for now because we need to get access at least to the following env variables according to the docs here https://github.com/pozil/pub-sub-api-node-client?tab=readme-ov-file#oauth-20-client-credentials-flow-client_credentials:

...
SALESFORCE_CLIENT_ID=YOUR_CONNECTED_APP_CLIENT_ID
SALESFORCE_CLIENT_SECRET=YOUR_CONNECTED_APP_CLIENT_SECRET
...

And in order to get access to these variables it needs to be done in Pipedream's backend