Why am I Getting a "Cannot read properties of undefined" Error When Integrating Pipedream SDK in My Node.js Application?

If there are dynamic props that are returned, then yes you’ll need to keep that dynamicPropsId in state and include it in the payload (but not all triggers / actions require it)