Compose-ready workspace: packages/zappier (rate card, portal, Stripe), packages/verae-zapier-middleware (timestamp + NATS), packages/verae-zapier (CLI app), vendor/zapier-platform, and research/zapier vendor corpus. Gate 0 structure checks pass. Product code and research are not yet wired.
472 lines
12 KiB
JSON
472 lines
12 KiB
JSON
{
|
|
"version": "1.2.30",
|
|
"platformVersion": "1.2.30",
|
|
"beforeRequest": "$func$2$f$",
|
|
"afterResponse": ["$func$2$f$"],
|
|
"requestTemplate": {
|
|
"headers": {
|
|
"X-MyCustomHeader": "my header value"
|
|
}
|
|
},
|
|
"authentication": {
|
|
"type": "oauth2",
|
|
"test": {
|
|
"url": "https://fake-crm.getsandbox.com/ping",
|
|
"method": "GET"
|
|
},
|
|
"fields": [
|
|
{
|
|
"key": "access_token",
|
|
"computed": true
|
|
},
|
|
{
|
|
"key": "refresh_token",
|
|
"computed": true
|
|
}
|
|
],
|
|
"oauth2Config": {
|
|
"authorizeUrl": "$func$2$f$",
|
|
"getAccessToken": {
|
|
"url": "https://fake-crm.getsandbox.com/oauth/access_token",
|
|
"method": "POST"
|
|
},
|
|
"scope": "tags,users,contacts",
|
|
"autoRefresh": false,
|
|
"enablePkce": false
|
|
},
|
|
"connectionLabel": "{{inputData.email}}"
|
|
},
|
|
"resources": {
|
|
"tag": {
|
|
"key": "tag",
|
|
"noun": "Tag",
|
|
"sample": {
|
|
"id": 1,
|
|
"name": "test tag"
|
|
},
|
|
"get": {
|
|
"display": {
|
|
"label": "Get Tag by ID",
|
|
"description": "Grab a specific Tag by ID."
|
|
},
|
|
"operation": {
|
|
"perform": {
|
|
"url": "https://fake-crm.getsandbox.com/tags/{{inputData.id}}"
|
|
},
|
|
"sample": {
|
|
"id": 385,
|
|
"name": "proactive enable ROI"
|
|
},
|
|
"inputFields": [
|
|
{
|
|
"key": "id",
|
|
"required": true
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"list": {
|
|
"display": {
|
|
"label": "New Tag",
|
|
"description": "Trigger when a new Tag is created in your account."
|
|
},
|
|
"operation": {
|
|
"perform": {
|
|
"url": "https://fake-crm.getsandbox.com/tags"
|
|
},
|
|
"sample": {
|
|
"id": 385,
|
|
"name": "proactive enable ROI"
|
|
}
|
|
}
|
|
},
|
|
"create": {
|
|
"display": {
|
|
"label": "Create Tag",
|
|
"description": "Create a new Tag in your account."
|
|
},
|
|
"operation": {
|
|
"perform": "$func$2$f$",
|
|
"sample": {
|
|
"id": 1,
|
|
"name": "proactive enable ROI"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"user": {
|
|
"key": "user",
|
|
"noun": "User",
|
|
"sample": {
|
|
"id": 1,
|
|
"name": "Test McTesterson",
|
|
"email": "test@mctesterson.com"
|
|
},
|
|
"get": {
|
|
"display": {
|
|
"label": "Get User by ID",
|
|
"description": "Grab a specific User by ID."
|
|
},
|
|
"operation": {
|
|
"perform": {
|
|
"url": "https://fake-crm.getsandbox.com/users/{{inputData.id}}"
|
|
},
|
|
"sample": {
|
|
"id": 1,
|
|
"name": "Jalen Bode",
|
|
"email": "jalen.bode@company.com"
|
|
},
|
|
"inputFields": [
|
|
{
|
|
"key": "id",
|
|
"required": true
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"list": {
|
|
"display": {
|
|
"label": "New User",
|
|
"description": "Trigger when a new User is created in your account."
|
|
},
|
|
"operation": {
|
|
"perform": {
|
|
"url": "https://fake-crm.getsandbox.com/users"
|
|
},
|
|
"sample": {
|
|
"id": 49,
|
|
"name": "Veronica Kuhn",
|
|
"email": "veronica.kuhn@company.com"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"contact": {
|
|
"key": "contact",
|
|
"noun": "Contact",
|
|
"sample": {
|
|
"id": 1,
|
|
"name": "Test Contact",
|
|
"company": "Test Inc",
|
|
"email": "test@example.com.com",
|
|
"phone": "1-111-555-7000",
|
|
"address": "1234 Test Canyon",
|
|
"owner_id": 1,
|
|
"tag_ids": [1, 2, 3]
|
|
},
|
|
"get": {
|
|
"display": {
|
|
"label": "Get Contact by ID",
|
|
"description": "Grab a specific Contact by ID."
|
|
},
|
|
"operation": {
|
|
"perform": {
|
|
"url": "https://fake-crm.getsandbox.com/contacts/{{inputData.id}}"
|
|
},
|
|
"sample": {
|
|
"id": 1,
|
|
"name": "Rosalee Kub",
|
|
"company": "Schmidt, O'Reilly and Moen",
|
|
"email": "Rosalee_Kub47@hotmail.com",
|
|
"phone": "412-916-6798 x3478",
|
|
"address": "73375 Jacobson Turnpike",
|
|
"owner_id": 9,
|
|
"tag_ids": [87]
|
|
},
|
|
"inputFields": [
|
|
{
|
|
"key": "id",
|
|
"required": true
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"list": {
|
|
"display": {
|
|
"label": "New Contact",
|
|
"description": "Trigger when a new Contact is created in your account."
|
|
},
|
|
"operation": {
|
|
"perform": {
|
|
"url": "https://fake-crm.getsandbox.com/contacts"
|
|
},
|
|
"sample": {
|
|
"id": 1,
|
|
"name": "Rosalee Kub",
|
|
"company": "Schmidt, O'Reilly and Moen",
|
|
"email": "Rosalee_Kub47@hotmail.com",
|
|
"phone": "412-916-6798 x3478",
|
|
"address": "73375 Jacobson Turnpike",
|
|
"owner_id": 9,
|
|
"tag_ids": [87]
|
|
}
|
|
}
|
|
},
|
|
"create": {
|
|
"display": {
|
|
"label": "Create Contact",
|
|
"description": "Create a new Contact in your account."
|
|
},
|
|
"operation": {
|
|
"perform": "$func$2$f$",
|
|
"sample": {
|
|
"id": 1,
|
|
"name": "Rosalee Kub",
|
|
"company": "Schmidt, O'Reilly and Moen",
|
|
"email": "Rosalee_Kub47@hotmail.com",
|
|
"phone": "412-916-6798 x3478",
|
|
"address": "73375 Jacobson Turnpike",
|
|
"owner_id": 9,
|
|
"tag_ids": [87]
|
|
},
|
|
"inputFields": [
|
|
{
|
|
"key": "email",
|
|
"label": "Email",
|
|
"type": "string",
|
|
"required": true
|
|
},
|
|
{
|
|
"key": "name",
|
|
"label": "Name",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"key": "company",
|
|
"label": "Company",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"key": "phone",
|
|
"label": "Phone",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"key": "address",
|
|
"label": "Address",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"key": "owner_id",
|
|
"label": "Owner",
|
|
"type": "integer",
|
|
"dynamic": "user.id"
|
|
},
|
|
{
|
|
"key": "tag_id",
|
|
"label": "Tag",
|
|
"type": "integer",
|
|
"dynamic": "tag.id.name",
|
|
"search": "tag.id"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"triggers": {
|
|
"contact_by_tag": {
|
|
"key": "contact_by_tag",
|
|
"noun": "Contact",
|
|
"display": {
|
|
"label": "New Tagged Contact",
|
|
"description": "Trigger when a new Contact is tagged in your account."
|
|
},
|
|
"operation": {
|
|
"resource": "contact",
|
|
"perform": {
|
|
"url": "https://fake-crm.getsandbox.com/contacts?tag_id={{inputData.tagId}}"
|
|
},
|
|
"inputFields": [
|
|
{
|
|
"key": "tagId",
|
|
"label": "Tag",
|
|
"type": "integer",
|
|
"dynamic": "tag.id"
|
|
}
|
|
],
|
|
"sample": {
|
|
"id": 1,
|
|
"name": "Test Contact",
|
|
"company": "Test Inc",
|
|
"email": "test@example.com.com",
|
|
"phone": "1-111-555-7000",
|
|
"address": "1234 Test Canyon",
|
|
"owner_id": 1,
|
|
"tag_ids": [1, 2, 3]
|
|
}
|
|
}
|
|
},
|
|
"tag_list": {
|
|
"display": {
|
|
"label": "New Tag",
|
|
"description": "Trigger when a new Tag is created in your account."
|
|
},
|
|
"operation": {
|
|
"perform": {
|
|
"url": "https://fake-crm.getsandbox.com/tags"
|
|
},
|
|
"sample": {
|
|
"id": 385,
|
|
"name": "proactive enable ROI"
|
|
},
|
|
"resource": "tag",
|
|
"type": "polling"
|
|
},
|
|
"key": "tag_list",
|
|
"noun": "Tag"
|
|
},
|
|
"user_list": {
|
|
"display": {
|
|
"label": "New User",
|
|
"description": "Trigger when a new User is created in your account."
|
|
},
|
|
"operation": {
|
|
"perform": {
|
|
"url": "https://fake-crm.getsandbox.com/users"
|
|
},
|
|
"sample": {
|
|
"id": 49,
|
|
"name": "Veronica Kuhn",
|
|
"email": "veronica.kuhn@company.com"
|
|
},
|
|
"resource": "user",
|
|
"type": "polling"
|
|
},
|
|
"key": "user_list",
|
|
"noun": "User"
|
|
},
|
|
"contact_list": {
|
|
"display": {
|
|
"label": "New Contact",
|
|
"description": "Trigger when a new Contact is created in your account."
|
|
},
|
|
"operation": {
|
|
"perform": {
|
|
"url": "https://fake-crm.getsandbox.com/contacts"
|
|
},
|
|
"resource": "contact",
|
|
"type": "polling",
|
|
"sample": {
|
|
"id": 1,
|
|
"name": "Test Contact",
|
|
"company": "Test Inc",
|
|
"email": "test@example.com.com",
|
|
"phone": "1-111-555-7000",
|
|
"address": "1234 Test Canyon",
|
|
"owner_id": 1,
|
|
"tag_ids": [1, 2, 3]
|
|
}
|
|
},
|
|
"key": "contact_list",
|
|
"noun": "Contact"
|
|
}
|
|
},
|
|
"searches": {
|
|
"tag": {
|
|
"display": {
|
|
"label": "Find Tag",
|
|
"description": "Finds a Tag."
|
|
},
|
|
"operation": {
|
|
"perform": {
|
|
"url": "https://fake-crm.getsandbox.com/tags?name={{inputData.name}}"
|
|
},
|
|
"resource": "tag",
|
|
"inputFields": [
|
|
{
|
|
"key": "name",
|
|
"label": "Tag Name",
|
|
"type": "string"
|
|
}
|
|
],
|
|
"sample": {
|
|
"id": 1,
|
|
"name": "test tag"
|
|
}
|
|
},
|
|
"key": "tag",
|
|
"noun": "Tag"
|
|
}
|
|
},
|
|
"creates": {
|
|
"tag_create": {
|
|
"display": {
|
|
"label": "Create Tag",
|
|
"description": "Create a new Tag in your account."
|
|
},
|
|
"operation": {
|
|
"perform": "$func$2$f$",
|
|
"resource": "tag",
|
|
"sample": {
|
|
"id": 385,
|
|
"name": "proactive enable ROI"
|
|
}
|
|
},
|
|
"key": "tag_create",
|
|
"noun": "Tag"
|
|
},
|
|
"contact_create": {
|
|
"display": {
|
|
"label": "Create Contact",
|
|
"description": "Create a new Contact in your account."
|
|
},
|
|
"operation": {
|
|
"perform": "$func$2$f$",
|
|
"inputFields": [
|
|
{
|
|
"key": "email",
|
|
"label": "Email",
|
|
"type": "string",
|
|
"required": true
|
|
},
|
|
{
|
|
"key": "name",
|
|
"label": "Name",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"key": "company",
|
|
"label": "Company",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"key": "phone",
|
|
"label": "Phone",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"key": "address",
|
|
"label": "Address",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"key": "owner_id",
|
|
"label": "Owner",
|
|
"type": "integer",
|
|
"dynamic": "user.id"
|
|
},
|
|
{
|
|
"key": "tag_id",
|
|
"label": "Tag",
|
|
"type": "integer",
|
|
"dynamic": "tag.id"
|
|
}
|
|
],
|
|
"resource": "contact",
|
|
"sample": {
|
|
"id": 1,
|
|
"name": "Test Contact",
|
|
"company": "Test Inc",
|
|
"email": "test@example.com.com",
|
|
"phone": "1-111-555-7000",
|
|
"address": "1234 Test Canyon",
|
|
"owner_id": 1,
|
|
"tag_ids": [1, 2, 3]
|
|
}
|
|
},
|
|
"key": "contact_create",
|
|
"noun": "Contact"
|
|
}
|
|
}
|
|
}
|