Asset Write

Overview

You can use Asset Write Snap to interact with the assets using commands and make modifications to the Asset Database. Marketo assets include the following:

  • Folders
  • Programs
  • Emails
  • Email Templates
  • Landing Pages
  • Landing Page Templates
  • Snippets
  • Forms
  • Tokens

Marketo Asset Write Overview

Prerequisites

Limitations

  • Daily quota: 50,000 API calls per day.
  • API rate limit: 100 calls per 20 seconds.
  • Concurrency limit: 10 concurrent API calls.

Known issues

  • This Snap fails with 1003 error on selecting Create File, Clone Form, Create Email Template, and Clone Landing Page.
  • Update Thank you page is failing to update Data in Marketo app.
  • If the API rate limit of 100 calls per 20 seconds is exceeded, the API responds with a 606 error code and the Snap fails.
  • Marketo Snaps do not support some special characters (for example, (๐––๐–—๐–˜๐–ฌ๐–ญ๐–ฎ๐—•๐—–๐˜ง๐˜จ๐˜ฉ๐›€๐›๐›‚๐›ƒ๐›„๐›…๐›†๐›‡,๐–—๐–˜๐–ฌ๐›Œ๐›—๐›˜๐›™๐›ด)).

Snap views

Type Description Examples of upstream and downstream Snaps
Input This Snap has at most two document input views. Write to the Asset database using command.
Output This Snap has at most one document output view. Interact with Asset database and perform action according to the given command.
Learn more about Error handling.

Snap settings

Note: Learn about the common controls in the Snap settings dialog.
Field/Field set Description
Label*

String
Specify a unique name for the Snap. Supports expressions.

Default value: Asset Write

Command*

String/Expression/ Suggestion

Specify the command to interact with the Asset database and make modifications.

Example:

  • createEmailTemplate
  • updateEmail
  • approveEmailTemplate
  • deleteFolder

For a complete list of supported commands, refer to the Marketo Asset API documentation.

Query Parameters

Use this fieldset to define the name and value for query parameters that are passed with the asset command.

Note:
  • This fieldset only supports pipeline parameters and does not support the upstream values.
  • Ensure that the query parameters are unique and not defined in both input documents and properties.
Name

String/Expression

Specify the name of the query parameter.

Value

String/Expression

Specify the value for the query parameter.

Timeout (seconds)

Integer/Expression

Specify the time in seconds to wait for a response from the Marketo server. A value of zero disables the timeout.

Default value: 0

Number of Retries

Integer/Expression

Specify the number of attempts the Snap must make in case of connection failure or timeout.

Default value: 0

Retry Interval (seconds)

Integer/Expression

Specify the minimum number of seconds the Snap must wait before each retry attempt.

Default value: 1

Snap execution

Dropdown list
Choose one of the three modes in which the Snap executes. Available options are:
  • Validate & Execute. Performs limited execution of the Snap and generates a data preview during pipeline validation. Subsequently, 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 that are downstream from it.

Default value: Validate and Execute

Examples