MonetizationOS Docs
Workflows ReferenceType Definitions

WorkflowContext

type WorkflowContext = {
  botTags: WorkflowBotTag[];
  city: string | null;
  continent: string | null;
  countryCode: string | null;
  isEUCountry: boolean;
  isVerifiedBotRequest: boolean | null;
  latitude: number | null;
  longitude: number | null;
  metroCode: string | null;
  originalUserAgent: string | null;
  postalCode: 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;

continent

continent: string | null;

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;

region

region: string | null;

regionCode

regionCode: string | null;

timezone

timezone: string | null;

userAgent

userAgent: string | null;