Is it Possible to Deploy a Trigger via SDK and List all Available Triggers from an App?

This topic was automatically generated from Slack. You can find the original thread here.

Using the SDK, can I deploy a Trigger from one of my project’s connected Apps so that it sends a webhook when triggered?
If so, can I somehow list all available triggers from an app, using the SDK? I couldn’t find that in the docs.

I’d basically want to build this programatically for my end users where, in the same way they can trigger actions for their connected accounts, they could configure sources that trigger an endpoint on our end from their configured triggers.

Is this serves your needs? Connect API & SDK reference — Pipedream

This only lists triggers that are already deployed, but does not deploy them.

There’s a Deploy trigger endpoint too, which is exactly what I want, but it requires both an id and configured_props which I do not know how to take them from

but it requires both an id and configured_props which I do not know how to take them from
I believe you can use the list component API here:
Connect API & SDK reference — Pipedream

oh I see!