Skip to content

Commit 76a26f6

Browse files
Add field in hyros create lead action (#18934)
* Add new Field for Hyros Create Lead Action 'Lead Stage' * updates * pnpm-lock.yaml --------- Co-authored-by: Michelle Bergeron <michelle.bergeron@gmail.com>
1 parent 3e3e0e9 commit 76a26f6

File tree

5 files changed

+18
-6
lines changed

5 files changed

+18
-6
lines changed

components/hyros/actions/create-call/create-call.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import hyros from "../../hyros.app.mjs";
44
export default {
55
key: "hyros-create-call",
66
name: "Create Call",
7-
version: "0.0.2",
7+
version: "0.0.3",
88
annotations: {
99
destructiveHint: false,
1010
openWorldHint: true,

components/hyros/actions/create-lead/create-lead.mjs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import hyros from "../../hyros.app.mjs";
44
export default {
55
key: "hyros-create-lead",
66
name: "Create Lead",
7-
version: "0.0.2",
7+
version: "0.0.3",
88
annotations: {
99
destructiveHint: false,
1010
openWorldHint: true,
@@ -55,6 +55,13 @@ export default {
5555
],
5656
optional: true,
5757
},
58+
stage: {
59+
propDefinition: [
60+
hyros,
61+
"leadStage",
62+
],
63+
optional: true,
64+
},
5865
},
5966
async run({ $ }) {
6067
const {

components/hyros/hyros.app.mjs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,11 @@ export default {
2929
label: "Phone Numbers",
3030
description: "Phone numbers of the lead that will be created. Will be used on the Ad attributing proccess. `If no email is entered, a phone number is required`.",
3131
},
32+
leadStage: {
33+
type: "string",
34+
label: "Lead Stage",
35+
description: "The name of a stage to be applied to the lead",
36+
},
3237
},
3338
methods: {
3439
_apiUrl() {

components/hyros/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pipedream/hyros",
3-
"version": "0.1.0",
3+
"version": "0.1.1",
44
"description": "Pipedream Hyros Components",
55
"main": "hyros.app.mjs",
66
"keywords": [
@@ -13,6 +13,6 @@
1313
"access": "public"
1414
},
1515
"dependencies": {
16-
"@pipedream/platform": "^1.5.1"
16+
"@pipedream/platform": "^3.1.0"
1717
}
1818
}

pnpm-lock.yaml

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)