Hi,
I am new to pipedream and I’m following the steps from Quickstart: Action Development
, and I have also tried to use trigger to trigger the action. but it seems that I am unable to access steps data from my code base.
the steps is undefined
Hi,
I am new to pipedream and I’m following the steps from Quickstart: Action Development
, and I have also tried to use trigger to trigger the action. but it seems that I am unable to access steps data from my code base.
the steps is undefined
Hi @jimmywu
Great question!
If you’re familiar with Object Oriented Programming, you can think of an action as a Class. It isn’t an instance yet in your code definition.
Instead, use props to define inputs on your actions.
Here’s a short video on how to use props to define inputs for your pre-built actions:
You can use the Component API defined in the docs to define strings, numbers, objects or even other apps as inputs to your actions.