WorkflowContext
type WorkflowContext = {
botTags: WorkflowBotTag[];
city: string | null;
clientIP: string | null;
continent: string | null;
cookies: Record<string, string>;
countryCode: string | null;
isEUCountry: boolean;
isVerifiedBotRequest: boolean | null;
latitude: number | null;
longitude: number | null;
metroCode: string | null;
originalUserAgent: string | null;
postalCode: string | null;
properties: Record<string, unknown>;
rawUrl: string | null;
referer: string | null;
region: string | null;
regionCode: string | null;
timezone: string | null;
userAgent: string | null;
};Properties
botTags
botTags: WorkflowBotTag[];Tags identifying the bot associated with the request, if any.
city
city: string | null;clientIP
clientIP: string | null;The IP address of the original HTTP request client, if forwarded by the client.
continent
continent: string | null;cookies
cookies: Record<string, string>;Selected cookies from the original HTTP request Cookie header, if forwarded by the client.
countryCode
countryCode: string | null;isEUCountry
isEUCountry: boolean;isVerifiedBotRequest
isVerifiedBotRequest: boolean | null;If the request was verified as coming from a bot. A null value indicates that no determination could be made. For more detailed bot information, see the 'botTags' property.
latitude
latitude: number | null;longitude
longitude: number | null;metroCode
metroCode: string | null;originalUserAgent
originalUserAgent: string | null;The user agent of the requester, ignoring any supplied override.
postalCode
postalCode: string | null;properties
properties: Record<string, unknown>;Additional properties contributed by middleware workflows. These are not set by default and will only contain values if middleware workflows have added them.
rawUrl
rawUrl: string | null;The full URL of the original HTTP request, if forwarded by the client.
referer
referer: string | null;The Referer header from the original HTTP request, if forwarded by the client.
region
region: string | null;regionCode
regionCode: string | null;timezone
timezone: string | null;userAgent
userAgent: string | null;