Replace outdated software, increase efficiency and boost business growth with Triggre, the complete no-code platform to create custom business applications.
Starts an automation flow within your Triggre application. See the documentation
Write custom Node.js code and use any of the 400k+ npm packages available. Refer to the Pipedream Node docs to learn more.
The Triggre API offers a gateway to interact with the Triggre platform, enabling you to automate processes, manage data, and integrate with other services. On Pipedream, you can harness this API to create powerful serverless workflows, connecting Triggre with numerous other apps to streamline operations, trigger actions based on events, and manipulate data in real-time. This empowers you to build custom, automated solutions that bridge the gap between Triggre and the rest of your tech stack.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
triggre: {
type: "app",
app: "triggre",
}
},
async run({steps, $}) {
const data = {
"name": "Test User",
"email": "test@sampledomain.com",
"visitors": 10
}
return await axios($, {
method: "post",
url: `${this.triggre.$auth.triggre_application_url}/${this.triggre.$auth.application_environment}/interfaces/rest/finaltest/finaltest`,
auth: {
username: `${this.triggre.$auth.application_username}`,
password: `${this.triggre.$auth.application_password}`,
},
data,
})
},
})
Develop, run and deploy your Node.js code in Pipedream workflows, using it between no-code steps, with connected accounts, or integrate Data Stores and File Stores.
This includes installing NPM packages, within your code without having to manage a package.json
file or running npm install
.
Below is an example of installing the axios
package in a Pipedream Node.js code step. Pipedream imports the axios
package, performs the API request, and shares the response with subsequent workflow steps:
// To use previous step data, pass the `steps` object to the run() function
export default defineComponent({
async run({ steps, $ }) {
// Return data to use it in future steps
return steps.trigger.event
},
})