Work anytime, anywhere with Asana. Keep remote and distributed teams, and your entire organization, focused on their goals, projects, and tasks with Asana.
Retrieve Tweets from the last seven days that match a query. See the documentation
Add a member to a list owned by the user. See the documentation
Add a task to a specific, existing section. This will remove the task from other sections of the project. See the documentation
The Asana API taps into the feature-rich project management platform, allowing you to automate tasks, sync data across apps, and enhance team collaboration. With the Asana API on Pipedream, you can create tasks, update project timelines, and trigger workflows from events within Asana—like new tasks or comments—streamlining your project management processes. Pipedream’s serverless platform empowers you to build complex workflows with minimal overhead, integrating Asana with numerous other services to maximize productivity and reduce manual workload.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
asana: {
type: "app",
app: "asana",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.asana.com/api/1.0/users/me`,
headers: {
Authorization: `Bearer ${this.asana.$auth.oauth_access_token}`,
},
})
},
})
The Twitter API on Pipedream enables you to automate interactions with Twitter, from posting tweets to analyzing social media trends. Pipedream's serverless platform provides the tools to create workflows that trigger on specific Twitter activities, process data, and connect with countless other apps for extensive automation scenarios. With Pipedream's integration, you can listen for events such as new tweets, mentions, or followers, and execute actions like tweeting, retweeting, or even leveraging sentiment analysis to gauge public perception.
import { axios } from "@pipedream/platform"
import twitter from "@pipedream/twitter"
export default defineComponent({
props: {
twitter
},
async run({steps, $}) {
const config = {
url: `https://api.twitter.com/2/users/me`,
params: {
"user.fields": `created_at,description,entities,id,location,name,pinned_tweet_id,profile_image_url,protected,url,username,verified,withheld`,
expansions: `pinned_tweet_id`,
},
}
const headers = this.twitter._getAuthHeader(config)
return await axios($, {
...config,
headers
})
},
})