View as Markdown
Hostaway icon

Hostaway ACTION

Update Task

Updates an existing task in Hostaway. See the documentation
  • Action
  • Writes data
  • Destructive
  • OAuth
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Hostaway account once, then configure and run Update 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-update-task",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    hostaway: { authProvisionId: "apn_xxxxxxx" },
    taskId: "Task",
    title: "Title",
  },
})

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.

Update Task inputs
Property Type Description
taskId Task string
Identifier of a task
Required Dynamic
title Title string
New title of the task
Optional
description Description string
New description of the 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-update-task
Version
0.0.3
App
Hostaway
Authentication
OAuth
Read-only
No
Destructive
Yes
Open world
Yes