Interface CrowdDevNodeParameters

Source
interface CrowdDevNodeParameters {
    additionalOptions?:
        | {
            body?: string;
            channel?: string;
            sourceParentId?: string;
            title?: string;
        }
        | {
            activities?: {
                itemChoice: { activity?: string }[];
            };
            displayName?: string;
            emails?: { itemChoice: { email?: string }[] };
            joinedAt?: string;
            notes?: { itemChoice: { note?: string }[] };
            organizations?: {
                itemChoice: {
                    description?: string;
                    employees?: number;
                    logo?: string;
                    name: string;
                    url?: string;
                }[];
            };
            tags?: { itemChoice: { tag?: string }[] };
            tasks?: { itemChoice: { task?: string }[] };
        }
        | {
            description?: string;
            employees?: number;
            logo?: string;
            members?: { itemChoice: { member?: string }[] };
            url?: string;
        }
        | {
            activities?: {
                itemChoice: { activity?: string }[];
            };
            assigneess?: string;
            body?: string;
            members?: { itemChoice: { member?: string }[] };
            name?: string;
            status?: string;
        };
    body?: string;
    displayName?: string;
    emails?: { itemChoice: { email?: string }[] };
    id?: string;
    joinedAt?: string;
    member?: string;
    name?: string;
    operation?:
        | "create"
        | "update"
        | "list"
        | "delete"
        | "createWithMember"
        | "createForMember"
        | "createOrUpdate"
        | "find"
        | "destroy";
    platform?: string;
    resource?: | "organization"
    | "task"
    | "member"
    | "activity"
    | "automation"
    | "note";
    sourceId?: string;
    timestamp?: string;
    trigger?: "new_activity"
    | "new_member";
    type?: string;
    url?: string;
    username?:
        | string
        | { itemChoice: { key: string; value: string }[] };
}

Properties§

Source§

readonly additionalOptions?:
    | {
        body?: string;
        channel?: string;
        sourceParentId?: string;
        title?: string;
    }
    | {
        activities?: {
            itemChoice: { activity?: string }[];
        };
        displayName?: string;
        emails?: { itemChoice: { email?: string }[] };
        joinedAt?: string;
        notes?: { itemChoice: { note?: string }[] };
        organizations?: {
            itemChoice: {
                description?: string;
                employees?: number;
                logo?: string;
                name: string;
                url?: string;
            }[];
        };
        tags?: { itemChoice: { tag?: string }[] };
        tasks?: { itemChoice: { task?: string }[] };
    }
    | {
        description?: string;
        employees?: number;
        logo?: string;
        members?: { itemChoice: { member?: string }[] };
        url?: string;
    }
    | {
        activities?: {
            itemChoice: { activity?: string }[];
        };
        assigneess?: string;
        body?: string;
        members?: { itemChoice: { member?: string }[] };
        name?: string;
        status?: string;
    }

Default: {}

Source§

readonly body?: string

The body of the note Type options: {"rows":4}

Source§

readonly displayName?: string

UI friendly name of the member

Source§

readonly emails?: { itemChoice: { email?: string }[] }

Email addresses of the member Default: {} Type options: {"multipleValues":true}

Source§

readonly id?: string

The ID of the member

Source§

readonly joinedAt?: string

Date of joining the community

Source§

readonly member?: string

The ID of the member that performed the activity

Source§

readonly name?: string

The name of the organization

Source§

readonly operation?:
    | "create"
    | "update"
    | "list"
    | "delete"
    | "createWithMember"
    | "createForMember"
    | "createOrUpdate"
    | "find"
    | "destroy"

Default: "createWithMember"

Source§

readonly platform?: string

Platform on which the activity took place

Source§

readonly resource?:
    | "organization"
    | "task"
    | "member"
    | "activity"
    | "automation"
    | "note"

Default: "activity"

Source§

readonly sourceId?: string

The ID of the activity in the platform (e.g. the ID of the message in Discord)

Source§

readonly timestamp?: string

Date and time when the activity took place

Source§

readonly trigger?: "new_activity" | "new_member"

What will trigger an automation Default: "new_activity"

Source§

readonly type?: string

Type of activity

Source§

readonly url?: string

URL to POST webhook data to

Source§

readonly username?: string | { itemChoice: { key: string; value: string }[] }

Default: {} Type options: {"multipleValues":true}