# InboundTriggerPayloadMode

> Tracon documentation. Tracon is a .NET package family that adds a control
> plane on Microsoft Agent Framework, published as NuGet packages that run
> inside your own ASP.NET Core application.
>
> Page: https://tracon.dev/api/tracon.inboundtriggerpayloadmode/
> Summary: InboundTriggerPayloadMode: How an inbound trigger's request body becomes the agent/workflow message.

<div class="api-provenance">Namespace Tracon · Assembly <code>Tracon.Abstractions.dll</code></div>

How an inbound trigger's request body becomes the agent/workflow message.

```csharp
[JsonConverter(typeof(JsonStringEnumConverter<InboundTriggerPayloadMode>))]
public enum InboundTriggerPayloadMode
```

## Fields

`Path = 1` 

A single field, selected by [InboundTrigger.PayloadPath](/api/tracon.inboundtrigger/#Tracon_InboundTrigger_PayloadPath), becomes the message.

`WholeBody = 0` 

The whole request body becomes the message, as JSON text.

## Remarks

Written as a name in JSON, stored as `smallint` in the database. The
value order **must not change** — only append; existing rows
reference the numeric value.
