Twist is a communication app designed for team collaboration, with a focus on organized, threaded conversations. Using the Twist API on Pipedream, you can automate workflows to enhance productivity, streamline communication, and integrate with other tools. From automating notifications to syncing tasks across platforms, the API unlocks valuable use cases for teams needing to stay in sync without the noise of email or less structured chat apps.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
twist: {
type: "app",
app: "twist",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.twist.com/api/v3/users/get_session_user`,
headers: {
Authorization: `Bearer ${this.twist.$auth.oauth_access_token}`,
},
})
},
})
Automated Project Updates: Create a workflow that triggers whenever a new task is added to a project management tool like Asana or Trello. The update is then formatted and posted to a specific Twist channel to keep the team informed without leaving their communication hub.
Support Ticket Notification: Build an automation that listens for new support tickets from a platform like Zendesk. When a ticket is received, it triggers a Pipedream workflow that posts a summary and link to the ticket in a designated Twist channel, ensuring that the support team can react quickly.
Daily Digests from Multiple Tools: Set up a daily scheduled workflow that aggregates updates from various tools such as GitHub for commits, JIRA for issue updates, and Google Calendar for meeting schedules. The workflow compiles these into a single digest and posts it to Twist, giving the team a one-glance summary of the day’s agenda and activity.
Emit new event for any new channel added in a workspace See the docs here
Emit new event for any new comment in a workspace See the docs here
Emit new event for any new updates in a workspace See the docs here
Emit new event for any new group added in a workspace See the docs here
Emit new event for any new user added to a workspace group See the docs here
Twist uses OAuth authentication. When you connect your Twist account, Pipedream will open a popup window where you can sign into Twist and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any Twist API.
Pipedream requests the following authorization scopes when you connect your account:
user:write
user:read
workspaces:write
workspaces:read
channels:remove
channels:write
channels:read
threads:remove
threads:write
threads:read
comments:remove
comments:write
comments:read
groups:remove
groups:write
groups:read
messages:remove
messages:write
messages:read
reactions:remove
reactions:write
reactions:read
search:read
attachments:write
attachments:read
notifications:write
notifications:read
GET
https://twist.com/oauth/authorize
?
client_id={{oauth.client_id}}
&
state={{oauth.state}}
&
scope={{oauth.comma_separated_scopes}}
POST
https://twist.com/oauth/access_token
content-type: application/x-www-form-urlencoded
accept: application/json
client_id={{oauth.client_id}}
&
client_secret={{oauth.client_secret}}
&
redirect_uri={{oauth.redirect_uri}}
&
grant_type=authorization_code
&
code={{oauth.code}}