-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
92ca7a2
commit 4c9a9f9
Showing
1 changed file
with
60 additions
and
0 deletions.
There are no files selected for viewing
60 changes: 60 additions & 0 deletions
60
resources/Create a row in Google Sheets worksheet when a new lead is created in Marketo.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
$integration: http://ibm.com/appconnect/integration/v2/integrationFile | ||
integration: | ||
type: trigger-action | ||
trigger-interfaces: | ||
trigger-interface-1: | ||
type: event-trigger | ||
triggers: | ||
CREATED: | ||
input-context: | ||
data: leads | ||
assembly: | ||
$ref: '#/integration/assemblies/assembly-1' | ||
options: | ||
webhookURLSuffix: FGlgq8GzUvN4IOsWzSoO2GVTe8l6wAQOpu_x0d2tGUOT_Be9lGJJ0vUrbAy1Vfe8 | ||
connector-type: marketo | ||
action-interfaces: | ||
action-interface-1: | ||
type: api-action | ||
business-object: worksheetRow | ||
connector-type: googlesheet | ||
actions: | ||
CREATE: {} | ||
assemblies: | ||
assembly-1: | ||
assembly: | ||
execute: | ||
- create-action: | ||
name: Google Sheets Create row | ||
target: | ||
$ref: '#/integration/action-interfaces/action-interface-1' | ||
map: | ||
mappings: | ||
- fields: | ||
mappings: | ||
- '1': | ||
template: '{{$Trigger.firstName}}' | ||
- '2': | ||
template: '{{$Trigger.middleName}}' | ||
- '3': | ||
template: '{{$Trigger.lastName}}' | ||
- '4': | ||
template: '{{$Trigger.company}}' | ||
- '5': | ||
template: '{{$Trigger.mktoName}}' | ||
- '6': | ||
template: '{{$Trigger.title}}' | ||
- '7': | ||
template: '{{$Trigger.mobilePhone}}' | ||
- spreadsheetID: | ||
template: 1VJQmf4WLM6ZVmxk6Sv94DOyuWUDBFO4uFhuWMD_TLJQ | ||
- worksheetID: | ||
template: Sheet1 | ||
$map: http://ibm.com/appconnect/map/v1 | ||
input: | ||
- variable: Trigger | ||
$ref: '#/trigger/payload' | ||
- variable: flowDetails | ||
$ref: '#/flowDetails' | ||
name: Create a row in Google Sheets worksheet when a new lead is created in Marketo | ||
models: {} |