You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: "Adds a new activity. Includes `more_activities_scheduled_in_context` property in response's `additional_data` which indicates whether there are more undone activities scheduled with the same deal, person or organization (depending on the supplied data). See the Pipedrive API docs for Activities [here](https://developers.pipedrive.com/docs/api/v1/#!/Activities). For info on [adding an activity in Pipedrive](https://developers.pipedrive.com/docs/api/v1/Activities#addActivity)",
9
-
version: "0.1.6",
10
+
version: "0.1.7",
10
11
type: "action",
11
12
props: {
12
13
pipedriveApp,
@@ -15,22 +16,6 @@ export default {
15
16
label: "Subject",
16
17
description: "Subject of the activity",
17
18
},
18
-
done: {
19
-
type: "string",
20
-
label: "Done",
21
-
description: "Whether the activity is done or not. 0 = Not done, 1 = Done",
22
-
optional: true,
23
-
options: [
24
-
{
25
-
label: "Not done",
26
-
value: "0",
27
-
},
28
-
{
29
-
label: "Done",
30
-
value: "1",
31
-
},
32
-
],
33
-
},
34
19
type: {
35
20
type: "string",
36
21
label: "Type",
@@ -45,25 +30,7 @@ export default {
45
30
}));
46
31
},
47
32
},
48
-
dueDate: {
49
-
type: "string",
50
-
label: "Due Date",
51
-
description: "Due date of the activity. Format: `YYYY-MM-DD`",
52
-
optional: true,
53
-
},
54
-
dueTime: {
55
-
type: "string",
56
-
label: "Due Time",
57
-
description: "Due time of the activity in UTC. Format: `HH:MM`",
58
-
optional: true,
59
-
},
60
-
duration: {
61
-
type: "string",
62
-
label: "Duration",
63
-
description: "Duration of the activity. Format: `HH:MM`",
64
-
optional: true,
65
-
},
66
-
userId: {
33
+
ownerId: {
67
34
propDefinition: [
68
35
pipedriveApp,
69
36
"userId",
@@ -76,148 +43,159 @@ export default {
76
43
"dealId",
77
44
],
78
45
},
79
-
personId: {
46
+
leadId: {
80
47
propDefinition: [
81
48
pipedriveApp,
82
-
"personId",
49
+
"leadId",
83
50
],
84
-
description: "ID of the person this activity will be associated with",
85
51
},
86
-
participants: {
87
-
type: "string[]",
88
-
label: "Participants",
89
-
description: "List of multiple persons (participants) this activity will be associated with. If omitted, single participant from `person_id` field is used. It requires a structure as follows: `[{\"person_id\":1,\"primary_flag\":true}]`",
90
-
optional: true,
52
+
orgId: {
91
53
propDefinition: [
92
54
pipedriveApp,
93
-
"personId",
55
+
"organizationId",
94
56
],
57
+
description: "ID of the organization this activity will be associated with",
95
58
},
96
-
organizationId: {
59
+
projectId: {
97
60
propDefinition: [
98
61
pipedriveApp,
99
-
"organizationId",
62
+
"projectId",
100
63
],
101
-
description: "ID of the organization this activity will be associated with",
64
+
description: "ID of the project this activity will be associated with",
102
65
},
103
-
note: {
66
+
dueDate: {
104
67
type: "string",
105
-
label: "Note",
106
-
description: "Note of the activity (HTML format)",
68
+
label: "Due Date",
69
+
description: "Due date of the activity. Format: `YYYY-MM-DD`",
107
70
optional: true,
108
71
},
109
-
location: {
72
+
dueTime: {
110
73
type: "string",
111
-
label: "Location",
112
-
description: "The address of the activity. Pipedrive will automatically check if the location matches a geo-location on Google maps.",
74
+
label: "Due Time",
75
+
description: "Due time of the activity in UTC. Format: `HH:MM`",
113
76
optional: true,
114
77
},
115
-
publicDescription: {
78
+
duration: {
116
79
type: "string",
117
-
label: "Public Description",
118
-
description: "Additional details about the activity that will be synced to your external calendar. Unlike the note added to the activity, the description will be publicly visible to any guests added to the activity.",
80
+
label: "Duration",
81
+
description: "Duration of the activity. Format: `HH:MM`",
119
82
optional: true,
120
83
},
121
-
busyFlag: {
84
+
busy: {
122
85
type: "boolean",
123
-
label: "Busy Flag",
86
+
label: "Busy",
124
87
description: "Set the activity as 'Busy' or 'Free'. If the flag is set to true, your customers will not be able to book that time slot through any Scheduler links",
125
88
optional: true,
126
89
},
90
+
done: {
91
+
type: "boolean",
92
+
label: "Done",
93
+
description: "Whether the activity is done or not.",
94
+
optional: true,
95
+
},
96
+
location: {
97
+
type: "object",
98
+
label: "Location",
99
+
description: "The address of the activity. Pipedrive will automatically check if the location matches a geo-location on Google maps.",
100
+
optional: true,
101
+
},
102
+
participants: {
103
+
type: "string[]",
104
+
label: "Participants",
105
+
description: "List of multiple persons (participants) this activity will be associated with. If omitted, single participant from `person_id` field is used. It requires a structure as follows: `[{\"person_id\":1,\"primary\":true}]`",
106
+
optional: true,
107
+
propDefinition: [
108
+
pipedriveApp,
109
+
"personId",
110
+
],
111
+
},
127
112
attendees: {
128
113
type: "string[]",
129
114
label: "Attendees",
130
-
description: "Attendees of the activity. This can be either your existing Pipedrive contacts or an external email address. It requires a structure as follows: `[{\"email_address\":\"[email protected]\"}]` or `[{\"person_id\":1, \"email_address\":\"[email protected]\"}]`",
115
+
description: "Attendees of the activity. This can be either your existing Pipedrive contacts or an external email address. It requires a structure as follows: `[{\"email\":\"[email protected]\"}]`",
description: "Additional details about the activity that will be synced to your external calendar. Unlike the note added to the activity, the description will be publicly visible to any guests added to the activity.",
146
+
optional: true,
147
+
},
148
+
note: {
149
+
type: "string",
150
+
label: "Note",
151
+
description: "Note of the activity (HTML format)",
0 commit comments