with Figma and Jira Data Center?
The Figma API unlocks the power to automate and integrate design workflows, enabling both designers and developers to extract assets, update designs, and manage files programmatically. By leveraging the Figma API on Pipedream, you can create automated processes that sync design updates with other tools, notify team members of changes, or feed design information into other parts of your digital ecosystem.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
figma: {
type: "app",
app: "figma",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.figma.com/v1/me`,
headers: {
Authorization: `Bearer ${this.figma.$auth.oauth_access_token}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
jira_data_center: {
type: "app",
app: "jira_data_center",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.jira_data_center.$auth.api_url}/rest/auth/1/session`,
headers: {
Authorization: `Bearer ${this.jira_data_center.$auth.personal_access_token}`,
},
})
},
})