with FogBugz and Anthropic (Claude)?
Emit new event instantaneously when something significant happens to a case.
Emit new new event when there's a new case under a specified filter. Note this may not effectively work for filters that generate results too long, or filters with more than 50,000 cases, especially if your FogBugz site is running Ocelot.
Emit new event when a new person or a user is created in FogBugz. It effectively tracks the addition of new users in the system.
Gets a list of projects in FogBugz. This can be used to quickly view all projects and their details. See the documentation
The FogBugz API allows you to interact with your FogBugz software development tracking system programmatically. With this API, you can create, read, update, and delete cases; manage projects, areas, and categories; and perform searches to gather data-driven insights. Integrating FogBugz with Pipedream opens up possibilities for automating workflows, syncing data across platforms, and reacting to events within FogBugz in real-time.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
fogbugz: {
type: "app",
app: "fogbugz",
}
},
async run({steps, $}) {
const data = {
"cmd": `listPeople`,
"token": `${this.fogbugz.$auth.api_token}`,
}
return await axios($, {
method: "post",
url: `https://${this.fogbugz.$auth.your_site}.fogbugz.com/f/api/0/jsonapi`,
headers: {
"Content-Type": `application/json`,
},
data,
})
},
})
The Anthropic (Claude) API offers a conversational AI that can be leveraged for a variety of applications, ranging from answering questions to generating content or providing customer support. In Pipedream, you can create powerful workflows that utilize the capabilities of Claude to automate responses, analyze text, or enhance data with AI-generated insights. Pipedream's serverless platform simplifies integrating Claude into your processes with other apps and services for seamless automation.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
anthropic: {
type: "app",
app: "anthropic",
}
},
async run({steps, $}) {
const data = {
"model": "claude-3-haiku-20240307",
"max_tokens": 300,
"messages": [
{"role": "user", "content": "Write me a haiku about Pipedream workflows."}
]
}
return await axios($, {
method: "post",
url: `https://api.anthropic.com/v1/messages`,
headers: {
"x-api-key": `${this.anthropic.$auth.api_key}`,
"anthropic-version": `2023-06-01`,
},
data,
})
},
})