import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
agrello: {
type: "app",
app: "agrello",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.agrello.io/public/v3/workspace`,
headers: {
Authorization: `Bearer ${this.agrello.$auth.oauth_access_token}`,
},
})
},
})
Emit new event when a user adds a document to a specific folder. See the documentation
Emit new event when a signature is added to a container.
Emit new event when a given document is signed by all parties.
Agrello uses OAuth authentication. When you connect your Agrello account, Pipedream will open a popup window where you can sign into Agrello and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any Agrello API.
Pipedream requests the following authorization scopes when you connect your account:
POST
https://service.agrello.org/auth/oauth/token
content-type: application/x-www-form-urlencoded
accept: application/json
grant_type=client_credentials
POST
https://service.agrello.org/auth/oauth/token
content-type: application/x-www-form-urlencoded
accept: application/json
grant_type=client_credentials