with Agiliron and Bluesky?
Emit new event when someone follows the specified account. Requires the account ID as a prop to monitor followers for that account. See the documentation
Emit new event when a new contact is created in Agiliron. See the documentation
Emit new event when an author creates a post. Requires the author id as a prop to track posts from a specific author. See the documentation
Emit new event when posts appear in the following
feed. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
agiliron: {
type: "app",
app: "agiliron",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.agiliron.$auth.subdomain}.agiliron.net/agiliron/api-40/Accounts`,
headers: {
"Accept": `application/json`,
"apiKey": `${this.agiliron.$auth.api_key}`,
},
params: {
filter: `CreatedTime,bt,01-15-2000 | 01-31-2025`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
bluesky: {
type: "app",
app: "bluesky",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://bsky.social/xrpc/app.bsky.actor.getProfile?actor=${this.bluesky.$auth.did}`,
headers: {
Authorization: `Bearer ${this.bluesky.$auth.oauth_access_token}`,
},
})
},
})