The following scenario describes a three-component Job that adds a lead record into a list in the Marketo database.
Drop tMarketoListOperation, tFixedFlowInput and tLogRow onto the design workspace.
Connect tFixedFlowInput to tMarketoListOperation using a Row > Main connection. In the pop-up dialog box, click Yes to get the schema from the target component.
Connect tMarketoListOperation to tLogRow using a Row > Main connection.
Double-click tFixedFlowInput to define the component properties in its Basic settings view.
Click the [...] button next to Edit schema to view its schema.
In the Mode area, select Use Inline Table.
Click the plus button to add a new line and fill the line with respective values. In this example, these values are: MKTOLISTNAME for ListKeyType, bchenTestList for ListKeyValue, IDNUM for LeadKeyType and 308408 for LeadKeyValue.
Double-click tMarketoListOperation to define the component properties in its Basic settings view.
Click the Sync columns button to retrieve the schema defined in tFixedFlowInput.
Type in 1 in the Number of rows field.
Fill the Endpoint address field with the URL of the Marketo Web server. In this example, it is https://na-c.marketo.com/soap/mktows/1_5.
Note that the URL used in this scenario is for demonstration purposes only.
Fill the Secret key field with encrypted authentication code assigned by Marketo. In this example, it is 464407637703554044DD11AA2211998.
Fill the Client Access ID field with the user ID. In this example, it is mktodemo41_785133934D1A219.
From the Operation list, select addTo.
Type in the limit of query timeout in the Timeout field. In this example, use the default number: 60000.
Double-click tLogRow to define the component properties in its Basic settings view.
Click the Sync columns button to retrieve the schema defined in tMarketoListOperation.
In the Mode area, select Table.
Save your Job and press F6 to execute it.
The result of adding a lead record to a list in Marketo DB is displayed on the Run console.