[SDK reference](../../index.md) / [Models](../index.md) / [Workflows](index.md)

# WorkflowTrigger

**Kind:** class  
**Namespace:** `Egulu.Sdk.Models.Workflows`  

Starts a workflow by a schedule or by a message on a topic. An execution it starts is named from the event, so a redelivery starts one.

## Properties

| Name | Type | JSON name | Description |
|---|---|---|---|
| `CreateTime` | `DateTimeOffset?` | `createTime` | The createTime property |
| `Enabled` | `bool?` | `enabled` | The enabled property |
| `Input` | `UntypedNode?` | `input` | The input a started execution gets. A SCHEDULE trigger passes it as it is; a TOPIC trigger starts the execution with `{"input": <this>, "message": <the event>}`. |
| `Kind` | `Models.Workflows.WorkflowTrigger_kind?` | `kind` | The kind property |
| `LastExecution` | `string?` | `lastExecution` | The last execution it started. |
| `LastFireTime` | `DateTimeOffset?` | `lastFireTime` | The lastFireTime property |
| `Name` | `string?` | `name` | projects/{project}/locations/{location}/workflows/{workflow}/triggers/{trigger}. |
| `NextFireTime` | `DateTimeOffset?` | `nextFireTime` | When a schedule fires next. |
| `Schedule` | `Models.Workflows.WorkflowSchedule?` | `schedule` | The schedule property |
| `Subscription` | `string?` | `subscription` | For TOPIC: the ID of a pull subscription of a topic in this project and location. Only this trigger may read it: each message it pulls starts one execution (named from the event, so a redelivery starts one) and is acknowledged in the same transaction. |
| `UpdateTime` | `DateTimeOffset?` | `updateTime` | The updateTime property |
