I am a newbie to Pipedream, I am looking for a way to make some Action and Source Components that Pipedream doesn’t support yet.
What I found from the document is that:
- We need to request a new App from the Github
1.1. Pipedream will provide the OAuth process for the App, from the provided developer documentation in the Github request.
- After the App is added to the repository, we can Fork it and develop some Action and Source Components then make a Pull Request to publish it.
Please correct me if I am wrong.
Also, I have some questions about developing Action and Source:
- Can we change the code of app.mjs (say agile_crm.app.mjs)?
- Is there a document about propDefinitions inside app.mjs?
- How can I test those methods added to app.mjs?
- How can I test the Actions and Sources that I created?
- Because our integration is in development, is there a testing environment for testing the developing component?
Your understanding of the process is mostly correct. To develop Action and Source components that Pipedream doesn’t support yet, you can fork the Pipedream repository and create your components. Once you’re done, you can submit a pull request to have them reviewed and potentially published.To answer your questions:
- Yes, you can change the code of app.mjs (e.g., agile_crm.app.mjs) when developing your components.
- There isn’t a specific document about propDefinitions inside app.mjs, but you can refer to the Pipedream component API documentation: Component API Reference
- To test methods added to app.mjs, you can use the Pipedream CLI in development mode. Use the
pd dev command to deploy a local file, attach it to a component, and automatically update the component on each local save. More details can be found here: Component API Reference
- To test the Actions and Sources you created, you can use the Pipedream CLI or the Pipedream UI. The same
pd dev command mentioned earlier can be used for testing your components during development.
- The testing environment for developing components is provided by the Pipedream CLI in development mode, as mentioned in point 3.If you need more assistance, feel free to visit https://pipedream.com/support for more support options.
This answer is generated by the Pipedream bot @Mario on Slack. Please access Pipedream Users Slack and ask it any question if needed