Trello keeps track of everything, from the big picture to the minute details
Write custom Node.js code and use any of the 400k+ npm packages available. Refer to the Pipedream Node docs to learn more.
Adds a file attachment on a card by referencing a public URL. See the docs here
Create a file attachment on a card by referencing a public URL
Adds an existing label to the specified card. See the docs here
With the Trello API, you can:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
trello: {
type: "app",
app: "trello",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.trello.com/1/members/me`,
}, {
token: {
key: this.trello.$auth.oauth_access_token,
secret: this.trello.$auth.oauth_refresh_token,
},
oauthSignerUri: this.trello.$auth.oauth_signer_uri,
})
},
})
// 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
},
})