activities
latest
false
UiPath logo, featuring letters U and I in white
Classic Integrations Activities
Last updated Nov 8, 2024

Get Leads

UiPath.Marketo.Activities.GetLeads

The Get Leads activity uses the Marketo Lead Database API to get a list of Leads.

How it works

The following steps are an example of how the activity works from design time (i.e., the activity dependencies and input/output properties) to run time.

  1. Complete the Setup steps.
  2. Add the Marketo Scope activity to your project.
  3. Add the Get Leads activity inside the Marketo Scope activity.
  4. Enter values for the Input properties.
  5. Create and enter a Lead[] variable or a DataTable variable for the Output properties.
  6. Click the Configure button inside the Get Leads activity (this opens the Object Wizard) to choose which Lead properties you want populated.

  7. Create and enter a ResponseStatus variable for the Output property.

In the Body of the Activity

The Configure Connection dialog allows you to specify both a Design Connection and a Robot Connection.

The Design Connection is used for authentication only for design-time experiences. The Robot Connection credentials will be used when the robot runs any activity.

  • Client ID - The Client ID to use for authentication. This field supports only Strings or String variables.
  • Client Secret - The client secret for authentication. This field supports only SecureStrings or SecureString variables.
  • Base Url - The base URL for the connection. This field supports only Strings or String variables.
  • Existing Connection - Use an existing Marketo connection. Enter a Connection variable.

Properties

Common
  • DisplayName - The display name of the activity. This field supports only Strings or String variables.
Input
  • Filter Type - The lead field to filter on. This field supports only Strings or String variables.
    • Either the Program ID OR the combination of Filter Type AND Filter Values must be supplied.
    • Any custom field (string, email, or integer types only), and any of the following fields are supported: cookies, email, facebookId, id, leadPartitionId, linkedInId, sfdcAccountId, sfdcContactId, sfdcLeadId, sfdcLeadOwnerId, sfdcOpptyId, twitterId.
  • Filter Values - A comma-separated list of values to filter on in the specified fields. This field supports only Strings or String variables. Either the Program ID OR the combination of Filter Type AND Filter Values must be supplied.
  • Program ID - The id of the program to retrieve from Enter a Int32 or Int32 variable. Either the Program ID OR the combination of Filter Type AND Filter Values must be supplied.
Misc
  • Private - If selected, the values of variables and arguments are no longer logged at Verbose level.
Options
  • Batch Size - The batch size to return. Enter a Int32 or Int32 variable. If this is not populated, all records will be returned.
  • Next Page Token - The token to retrieve the next batch. This field supports only Strings or String variables. A token will be returned if the result set is greater than the batch size and can be passed in a subsequent call through this parameter.
Output
  • Leads - The leads to be retrieved. Enter a Lead[] variable.
  • Lead Data - The leads to be retrieved. This field supports only DataTable variables.
  • Next Page Token - The token to set to retrieve the next batch. This field supports only DataTable variables.
  • ResponseStatus - The status of the request (success/failure information). This field supports only ResponseStatus variables.
  • How it works
  • In the Body of the Activity
  • Properties

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.