← Workast

Create Space with Workast API

Pipedream makes it easy to connect APIs for Workast and 1200+ other apps remarkably fast.

Trigger workflow on
HTTP requests, schedules and app events
Next, do this
Create Space with the Workast API
No credit card required
Into to Pipedream
Watch us build a workflow
Watch us build a workflow
7 min
Watch now ➜

Trusted by 500,000+ developers from startups to Fortune 500 companies

Adyen logo
Brex logo
Carta logo
Checkr logo
Chameleon logo
DevRev logo
LinkedIn logo
Netflix logo
New Relic logo
OnDeck logo
Replicated logo
Scale AI logo
Teamwork logo
Warner Bros. logo
Xendit logo

Developers Pipedream

Getting Started

Create a workflow to Create Space with the Workast API. When you configure and deploy the workflow, it will run on Pipedream's servers 24x7 for free.

  1. Configure the Create Space action
    1. Connect your Workast account
    2. Configure Name
    3. Optional- Configure Description
    4. Optional- Select one or more Participants Ids
    5. Optional- Select a Type
    6. Optional- Select a Privacy
  2. Select a trigger to run your workflow on HTTP requests, schedules or app events
  3. Deploy the workflow
  4. Send a test event to validate your setup
  5. Turn on the trigger

Integrations

Create Space with Workast API on New Requests (Payload Only) from HTTP / Webhook API
HTTP / Webhook + Workast
 
Try it
Create Space with Workast API on New Message in Channel from Discord Bot API
Discord Bot + Workast
 
Try it
Create Space with Workast API on New Submission from Typeform API
Typeform + Workast
 
Try it
Create Space with Workast API on Custom Events from Zoom API
Zoom + Workast
 
Try it
Create Space with Workast API on New Submission (Instant) from Jotform API
Jotform + Workast
 
Try it

Details

This is a pre-built, source-available component from Pipedream's GitHub repo. The component is developed by Pipedream and the community, and verified and maintained by Pipedream.

To contribute an update to an existing component or create a new component, create a PR on GitHub. If you're new to Pipedream component development, you can start with quickstarts for trigger span and action development, and then review the component API reference.

Create Space on Workast
Description:Creates a space. [See docs here](https://developers.workast.com/#/method/createSpace)
Version:0.0.1
Key:workast-create-space

Code

import { defineAction } from "@pipedream/types";
import workast from "../../app/workast.app.mjs";
import constants from "../common/constants.mjs";
export default defineAction({
    name: "Create Space",
    version: "0.0.1",
    key: "workast-create-space",
    description: "Creates a space. [See docs here](https://developers.workast.com/#/method/createSpace)",
    type: "action",
    props: {
        workast,
        name: {
            label: "Name",
            description: "The space name",
            type: "string",
        },
        description: {
            label: "Description",
            description: "The space description",
            type: "string",
            optional: true,
        },
        userIds: {
            label: "Participants Ids",
            description: "The user ID to assigne to the task",
            type: "string[]",
            propDefinition: [
                workast,
                "userId",
            ],
            optional: true,
        },
        type: {
            label: "Type",
            description: "The type of the space",
            type: "string",
            options: constants.SPACE_TYPES,
            optional: true,
        },
        privacy: {
            label: "Privacy",
            description: "The privacy of the space",
            type: "string",
            options: constants.SPACE_PRIVACIES,
            optional: true,
        },
    },
    async run({ $ }) {
        const participantsParsed = typeof this.userIds === "string"
            ? JSON.parse(this.userIds)
            : this.userIds;
        const response = await this.workast.createSpace({
            $,
            data: {
                name: this.name,
                description: this.description,
                participants: participantsParsed ?? [],
                type: this.type,
                privacy: this.privacy,
            },
        });
        if (response) {
            $.export("$summary", `Successfully created space with id ${response.id}`);
        }
        return response;
    },
});

Configuration

This component may be configured based on the props defined in the component code. Pipedream automatically prompts for input values in the UI and CLI.
LabelPropTypeDescription
WorkastworkastappThis component uses the Workast app.
Namenamestring

The space name

Descriptiondescriptionstring

The space description

Participants IdsuserIdsstring[]Select a value from the drop down menu.
TypetypestringSelect a value from the drop down menu:{ "label": "Direct", "value": "direct" }{ "label": "Group", "value": "group" }{ "label": "Template", "value": "template" }
PrivacyprivacystringSelect a value from the drop down menu:{ "label": "Private", "value": "private" }{ "label": "Team", "value": "team" }

Authentication

Workast uses API keys for authentication. When you connect your Workast account, Pipedream securely stores the keys so you can easily authenticate to Workast APIs in both code and no-code steps.

To retrieve your API key:

  1. Navigate to your Workast account and sign in
  2. In Chrome you need to open the Developers tools (View -> Developer -> Developer tools)
  3. Go to the Application tab
  4. Navigate to cookies and you will find a cookie called token
  5. Remember to URL decode the token before you use it with a tool like https://www.urldecoder.org/

About Workast

Task and project management app for teams on Slack

More Ways to Use Workast

Triggers

New Task from the Workast API

Emit new event for each new task

 
Try it

Actions

Create Task with the Workast API

Creates a task. See docs here

 
Try it

Explore Other Apps

1
-
12
of
1200+
apps by most popular

HTTP / Webhook
HTTP / Webhook
Get a unique URL where you can send HTTP or webhook requests
Node
Node
Anything you can do with Node.js, you can do in a Pipedream workflow. This includes using most of npm's 400,000+ packages.
Beta
Python
Python
Anything you can do in Python can be done in a Pipedream Workflow. This includes using any of the 350,000+ PyPi packages available in your Python powered workflows.
Schedule
Schedule
Trigger workflows on an interval or cron schedule.
Beta
Data Stores
Data Stores
Use Pipedream Data Stores to manage state throughout your workflows.
Telegram Bot
Telegram Bot
Telegram is a cloud-based instant messaging and voice over IP service
OpenAI (ChatGPT)
OpenAI (ChatGPT)
OpenAI is an AI research and deployment company with the mission to ensure that artificial general intelligence benefits all of humanity. They are the makers of popular apps like ChatGPT and DALL·E 2.
Google Sheets
Google Sheets
With Google Sheets, you can create, edit, and collaborate wherever you are
Discord
Discord
Use this app to create a Discord source that emits messages from your guild to a Pipedream workflow.
GitHub
GitHub
Where the world builds software. Millions of developers and companies build, ship, and maintain their software on GitHub—the largest and most advanced development platform in the world.
Formatting
Formatting
Pre-built actions to make formatting and manipulating data within your workflows easier.
Slack
Slack
Slack is a channel-based messaging platform. With Slack, people can work together more effectively, connect all their software tools and services, and find the information they need to do their best work — all within a secure, enterprise-grade environment.