Couchdrop Developer Docs
Couchdrop HomepageKnowledge BaseLogin
  • Couchdrop API Overview
  • Available Endpoints
  • Errors and Response Codes
  • Domains and Accounts
    • Register a new domain
    • Manage domain/account
    • Authentication
  • Administration
    • Users
    • Groups
    • Folder Permissions
    • Folder Properties
    • Shared Links
    • Storage Connections
      • SFTP Connections
      • S3 Connections
      • FTP Connections
      • Azure Connections
      • GCS Connections
      • Other
    • Automations
      • Scheduled Automations
        • Create/Update
        • Get all schedule workflows
        • Get schedule workflow
        • Trigger schedule workflow
        • Delete Scheduled Workflow
      • Event Automations
        • Create/Update
        • Get action workflow
        • Get all action workflows
        • Delete Action Workflow
      • Actions
        • Webhook
        • Rename
        • Copy
        • Move
        • PGP Encrypt
        • Paths
      • Conditions
    • Symlinks/Shortcuts
    • Auditing and Reporting
  • Webhooks
    • Using webhooks
  • Filesystem Operations
    • Listing files/folders
    • Downloading a file
    • Uploading a File
    • Rename files/folders
    • Deleting files/folders
    • Create a folder
Powered by GitBook

Couchdrop

  • Couchdrop Homepage
  • Register
  • Login

Platform

  • Cloud SFTP Server
  • Cloud FTP Server
  • Automated Transfers
  • Mailboxes and Inboxes

Copyright Couchdrop Limited 2025

On this page

Was this helpful?

  1. Administration
  2. Automations
  3. Event Automations

Create/Update

Create or update an action workflow

Create an action workflow

POST https://api.couchdrop.io/manage/workflow/events

Headers

Name
Type
Description

token

String

API Access Token

Request Body

Name
Type
Description

String

If id is provided the existing workflow with this id will be updated.

enabled

Boolean

Enable or disable the workflow

name

String

Workflow name in the system

conditions

JSON Array String

Conditions that need to be met for this workflow to action upon.

E.g.

[ { "condition_type": "and", "id": "e6fde778-66cc-48ce-89ba-0fc7c41645e9", "transaction_type": "upload", "type": "transaction" }, { "condition_type": "and", "directory": "/myfolder/compressed/", "id": "c96fc558-904e-4a80-993d-2d8ebc42f3fe", "negate": false, "type": "directory_matches" }, { "condition_type": "and", "filename_pattern": "*.bz2", "id": "98fe1b8c-8516-4dbc-be1f-0bdce1cc131b", "negate": false, "type": "filename_matches" } ]

actions

JSON Aray String

Action that will run on the files/folders that match the conditions.

E.g.

[ { "actions": [ { "email_address": "user1@couchdrop.io", "id": "51856312-fa6c-469e-86da-0a3028611069", "type": "email" } ], "decompress_to": "/myfolder/decompressed/", "decompress_type": "bz2", "id": "1ce2e380-a4bc-4d05-a8e5-c47e76461419", "type": "decompress" } ]

delay

Integer

Delay of the workflow execution in seconds.

position

Integer

Position of this workflows run order if multiple workflows are configured. Starts with 0

{
    // Response
}
{
    // Response
}
PreviousEvent AutomationsNextGet action workflow

Last updated 2 years ago

Was this helpful?