View as Markdown
Hostaway icon

Hostaway ACTION

Create Task

Creates a new task in Hostaway. See the documentation
  • Action
  • Writes data
  • OAuth
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Hostaway account once, then configure and run Create Task from your backend or agent.

import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "hostaway-create-task",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    hostaway: { authProvisionId: "apn_xxxxxxx" },
    title: "Title",
    description: "Description",
  },
})

console.log(result)

SCHEMA

Inputs

Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.

Create Task inputs
Property Type Description
title Title string
Title of the new task
Required
description Description string
Description of the new task
Optional
listingId Listing string
Identifier of a listing
Optional Dynamic
reservationId Reservation string
Identifier of a reservation
Optional Dynamic
assigneeId Assignee string
Identifier of a user
Optional Dynamic
canStartFrom Can Start From string
Start time of the task. Example: 2023-07-01 00:00:00
Optional
shouldEndBy Should End By string
End time of the task. Example: 2023-07-30 00:00:00
Optional
categories Categories integer[]
Categories assigned to the task
Optional
status Status string
Status of the task
Optional

REFERENCE

Tool details

Behavior hints are published with the component in the Pipedream registry and surface as MCP tool annotations, so an agent can reason about a tool before it calls it.

Registry key
hostaway-create-task
Version
0.0.3
App
Hostaway
Authentication
OAuth
Read-only
No
Destructive
No
Open world
Yes