Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Version published after converting to the new editor

In this Article

Table of Contents
maxLevel2
absoluteUrltrue

Overview

You can use the Lead Read Snap to query the Lead database. Lead database objects include the following:

...

Support for Ultra Pipelines

Works in Ultra Pipelines

Limitations

Insert excerpt
Asset Read
Asset Read
nopaneltrue

...

Field NameDescription
Label
Insert excerpt
File Writer
File Writer
nopaneltrue


Default Value: Lead Read
Example: Reading Lead
Command

Enter the command to query the Asset database to retrieve the desired recordsAlternatively, click the Suggestion  icon to fetch a list of commands. 

Note
Some commands require specific data in the input view. In such cases, place the Mapper Snap as an upstream Snap
Lead Read Snap, validate the pipeline and note the Target Schema in Mapper Snap. 
Refer to the Marketo Lead Database document for details of each command

Default Value: N/A
Example:
 Get Activity Types

Query Parameters

You can use this fieldset to define the name and value for query parameters on request.

Info

Ensure that the query parameters are unique and not defined in both input documents and properties.


Name 

Specify the name of the query parameter for retrieving assets.

Default Value: N/A

ExampleactivityTypeIds

Value

Specify the value for the query parameter for retrieving assets.

Default Value: N/A

Example12

Read All Pages

Select this checkbox to read all pages from Marketo for the specific input.


Note

This checkbox is not available for Get Pagination Token command.

Default Value: Deselected.

Snap Execution

Select one of the three following modes in which the Snap executes:

  • Validate & Execute. Performs limited execution of the Snap and generates a data preview during Pipeline validation, then performs full execution of the Snap (unlimited records) during Pipeline runtime.
  • Execute only. Performs full execution of the Snap during Pipeline execution without generating preview data.
  • Disabled. Disables the Snap and all Snaps downstream from it.

Default Value: Validate & Execute 
Example: 
Disabled

Troubleshooting

...

This example Pipeline demonstrates how we can include a lead to the Lead database and retrieve that lead from the Lead database. We use the Lead Write and Lead Read Snaps to accomplish this task.

Initially, we pass the following required lead values and account name in the Pipeline as key-value parameters.

KeyValue
MarketoAccountNameDG_Marketo_Account
FirstNameMary
GenderFemale
LastNameSmith

...

Create a lead and insert them into the Leads database

We begin with mapping the lead information (defined in the Pipeline parameters) using the Mapper Snap. Upon validation, we see the lead information in the output preview of the Snap.

Mapper ConfigurationMapper Output
Image Modified

Next, we configure the Lead Write Snap to insert the lead information into the Lead database. Upon validation, we see a confirmation on the lead created into the Lead database.

...