Trello is the flexible work management tool that empowers all teams to plan, track, and accomplish their work, their way.
Post a message to a chat. First, make sure you add your Bot user to the chat. See the Documentation
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
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,
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
threads: {
type: "app",
app: "threads",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://trythreads.com/api/public/ping`,
headers: {
Authorization: `Bearer ${this.threads.$auth.api_key}`,
},
})
},
})