-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathflows.yaml
16724 lines (16685 loc) · 589 KB
/
flows.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
integrations:
aircall:
actions:
create-user:
description: Creates a user in Aircall.
output: User
endpoint:
method: POST
path: /users
group: Users
input: CreateUser
delete-user:
description: Deletes a user in Aircall
endpoint:
method: DELETE
path: /users
group: Users
output: SuccessResponse
input: IdEntity
syncs:
users:
runs: every day
description: |
Fetches a list of users from Aircall.
output: User
track_deletes: true
sync_type: full
endpoint:
method: GET
path: /users
group: Users
models:
SuccessResponse:
success: boolean
IdEntity:
id: string
User:
id: string
email: string
firstName: string
lastName: string
CreateUser:
firstName: string
lastName: string
email: string
aircall-basic:
actions:
create-user:
description: Creates a user in Aircall.
output: User
endpoint:
method: POST
path: /users
group: Users
input: CreateUser
delete-user:
description: Deletes a user in Aircall
endpoint:
method: DELETE
path: /users
group: Users
output: SuccessResponse
input: IdEntity
syncs:
users:
runs: every day
description: |
Fetches a list of users from Aircall.
output: User
track_deletes: true
sync_type: full
endpoint:
method: GET
path: /users
group: Users
models:
SuccessResponse:
success: boolean
IdEntity:
id: string
User:
id: string
email: string
firstName: string
lastName: string
CreateUser:
firstName: string
lastName: string
email: string
airtable:
syncs:
tables:
runs: every day
description: >
Lists all tables with their schema for all bases with a reference to
the base id that
the table belongs to
output: Table
track_deletes: true
sync_type: full
endpoint:
method: GET
path: /tables
scopes:
- schema.bases:read
bases:
runs: every day
description: List all bases
output: Base
track_deletes: true
sync_type: full
endpoint:
method: GET
path: /bases
scopes:
- schema.bases:read
actions:
whoami:
description: Fetch current user information
output: UserInformation
endpoint:
method: GET
path: /whoami
group: Users
scopes: user.email:read
create-webhook:
description: Create a webhook for a particular base
input: CreateWebhook
output: WebhookCreated
endpoint:
method: POST
path: /webhooks
group: Webhooks
scopes:
- webhook:manage
list-webhooks:
description: List all the webhooks available for a base
output: WebhookResponse
input: BaseId
endpoint:
method: GET
path: /webhooks
group: Webhooks
scopes:
- webhook:manage
delete-webhook:
description: Delete a webhook
endpoint:
method: DELETE
path: /webhooks
group: Webhooks
input: DeleteWebhook
output: SuccessResponse
scopes:
- webhook:manage
models:
SuccessResponse:
success: boolean
Table:
baseId: string
baseName: string
id: string
name: string
views: TableView[]
fields: TableField[]
primaryFieldId: string
TableView:
id: string
name: string
type: string
TableField:
id: string
description: string
name: string
type: string
options?:
__string: any
Base:
id: string
name: string
permissionLevel: none | read | comment | edit | create
BaseId:
baseId: string
WebhookResponse:
webhooks: Webhook[]
Webhook:
id: string
areNotificationsEnabled: boolean
cursorForNextPayload: number
isHookEnabled: boolean
lastSuccessfulNotificationTime: string | null
expirationTime?: string | undefined
specification: WebhookSpecification
lastNotificationResult: NotificationResult | null
NotificationResult:
success: boolean
error?:
message: string
completionTimestamp?: string
durationMs?: number
retryNumber?: number
willBeRetried?: boolean
WebhookSpecification:
options:
filters:
recordChangeScope?: string
dataTypes: string[]
changeTypes?: string[]
fromSources?: string[]
sourceOptions?:
formPageSubmission?:
pageId: string
formSubmission?:
viewId: string
watchDataInFieldIds?: string[]
watchSchemasOfFieldIds?: string[]
includes?:
includeCellValuesInFieldIds?: string[] | all
includePreviousCellValues:?: boolean
includePreviousFieldDefinitions?: boolean
CreateWebhook:
baseId: string
specification: WebhookSpecification
WebhookCreated:
id: string
expirationTime: string
DeleteWebhook:
baseId: string
webhookId: string
UserInformation:
id: string
email: string | null
algolia:
actions:
create-contacts:
description: |
Action to add a single record contact to an index
output: AlgoliaContact
input: AlgoliaCreateContactInput
endpoint:
method: POST
path: /contacts
models:
AlgoliaContact:
createdAt: date
taskID: number
objectID: string
AlgoliaCreateContactInput:
name: string
company: string
email: string
anrok:
actions:
create-ephemeral-transaction:
description: |
Creates an ephemeral transaction in Anrok.
input: Transaction
output: TransactionActionResponse
endpoint:
method: POST
path: /ephmeral-transactions
create-or-update-transaction:
description: |
Creates or updates a transaction in Anrok.
input: Transaction[]
output: TransactionActionResponse
endpoint:
method: POST
path: /transactions
void-transaction:
description: |
Voids a transaction in Anrok.
input: TransactionToDelete[]
output: TransactionDeletionActionResponse
endpoint:
method: POST
path: /transactions/void
negate-transaction:
description: |
Creates a negation in Anrok.
input: TransactionToNegate[]
output: TransactionNegationActionResponse
endpoint:
method: POST
path: /transactions/negate
models:
AnrokAddress:
line1: string
city: string
postalCode: string
country: string
AnrokLineItems:
id: string
productExternalId: string
amount: number
AnrokTaxIds:
type: string
value: string
AnrokTransactionData:
id?: string | undefined
accountingDate: string
currencyCode: string
customerId: string
customerName: string
customerAddress: AnrokAddress
lineItems: AnrokLineItems[]
customerTaxIds?: AnrokTaxIds[]
AnrokContact:
external_id: string
name: string
address_line_1: string
city: string
zip: string
country: string
taxable: boolean
tax_number: string
BaseTransaction:
id?: string | undefined
issuing_date: string
currency: string
contact: AnrokContact
Transaction:
id?: string | undefined
issuing_date: string
currency: string
contact: AnrokContact
fees: TransactionFee[]
TransactionFee:
item_id: string
item_code: string | null
amount_cents: number | null
TaxBreakdown:
name?: string
rate?: string
tax_amount?: number
type?: string | null
reason?: string
FailedTransaction:
id?: string | undefined
issuing_date: string
currency: string
contact: AnrokContact
fees: TransactionFee[]
validation_errors: any
SuccessTransaction:
id?: string | undefined
issuing_date: string
currency: string
contact: AnrokContact
fees: TransactionFee[]
sub_total_excluding_taxes?: number
taxes_amount_cents?: number
TransactionActionResponse:
succeeded: SuccessTransaction[]
failed: FailedTransaction[]
TransactionToNegate:
id: string
voided_id: string
TransactionToDelete:
id: string
TransactionNegationActionResponse:
succeeded: TransactionToNegate[]
failed: FailedTransactionToNegate[]
TransactionDeletionActionResponse:
succeeded: TransactionToDelete[]
failed: FailedTransactionToDelete[]
FailedTransactionToDelete:
id: string
validation_errors: any
FailedTransactionToNegate:
id: string
voided_id: string
validation_errors: any
TransactionFeeWithTaxBreakdown:
item_id: string
item_code: string | null
amount_cents: number | null
tax_amount_cents: number
tax_breakdown: TaxBreakdown[]
asana:
syncs:
tasks:
runs: every hour
description: Retrieve all tasks that exist in the workspace
output: Task
endpoint:
method: GET
path: /tasks
group: Tasks
sync_type: incremental
users:
runs: every hour
description: Retrieve all users that exist in the workspace
output: User
endpoint:
method: GET
path: /users
group: Users
sync_type: incremental
workspaces:
runs: every hour
description: Retrieve all workspaces for a user
output: AsanaWorkspace
endpoint:
method: GET
path: /workspaces
group: Workspaces
projects:
runs: every hour
description: Retrieves all projects for a user
output: AsanaProject
endpoint:
method: GET
path: /projects
group: Projects
actions:
fetch-workspaces:
description: >-
Fetch the workspaces with a limit (default 10) of a user to allow them
to selection of projects to sync
endpoint:
method: GET
path: /workspaces/limit
output: BaseAsanaModel[]
input: Limit
fetch-projects:
description: >-
Fetch the projects with a limit (default 10) given a workspace of a
user to allow selection when choosing the tasks to sync.
endpoint:
method: GET
path: /projects/limit
output: BaseAsanaModel[]
input: AsanaProjectInput
create-task:
input: CreateAsanaTask
endpoint:
method: POST
path: /tasks
group: Tasks
output: Task
description: >
Create a task using Asana specific fields and return a unified model
task. See https://developers.asana.com/reference/createtask for Asana
specific fields
update-task:
description: Update a task and be able to assign the task to a specific user
input: AsanaUpdateTask
endpoint:
method: PATCH
path: /tasks
group: Tasks
output: Task
delete-task:
input: Id
description: Delete a task.
endpoint:
method: DELETE
path: /tasks
group: Tasks
output: boolean
models:
Id:
id: string
Timestamps:
created_at: string | null
modified_at: string | null
NangoActionError:
type: validation_error | generic_error
message: string
BaseAsanaModel:
gid: string
resource_type: string
name: string
Limit:
limit: number | undefined
User:
created_at: string | null
modified_at: string | null
id: string
name: string
email: string | null
avatar_url: string | null
Task:
created_at: string | null
modified_at: string | null
id: string
title: string
url: string
status: string
description: string | null
assignee: User | null
due_date: string | null
AsanaProjectInput:
limit: number | undefined
workspace: string
CreateAsanaTask:
name: string
workspace: string | undefined
parent: string | undefined
projects: string[] | undefined
AsanaTask:
created_at: string | null
modified_at: string | null
gid: string
resource_type: string
name: string
completed: boolean
due_date: string | null
tags: string[]
start_on: string | null
due_at: string | null
due_on: string | null
completed_at: string | null
actual_time_minutes: number
assignee: AsanaUser | null
start_at: string | null
num_hearts: number
num_likes: number
workspace: BaseAsanaModel
hearted: boolean
hearts: string[]
liked: boolean
likes: string[]
notes: string
assignee_status: string
followers: BaseAsanaModel[]
parent:
gid: string
resource_type: string
name: string
resource_subtype: string
permalink_url: string
AsanaPhoto:
image_1024x1024: string
image_128x128: string
image_21x21: string
image_27x27: string
image_36x36: string
image_60x60: string
AsanaUser:
gid: string
resource_type: string
name: string
id: string
email: string
photo: AsanaPhoto | null
workspace: string | undefined
AsanaUpdateTask:
id: string
due_at: string | undefined
due_on: string | undefined
completed: boolean | undefined
notes: string | undefined
projects: string[] | undefined
assignee: string | undefined
parent: string | undefined
tags: string[] | undefined
workspace: string | undefined
name: string | undefined
AsanaWorkspace:
gid: string
resource_type: string
name: string
id: string
is_organization: boolean
AsanaProject:
gid: string
resource_type: string
name: string
id: string
ashby:
syncs:
candidates:
runs: every hour
output: AshbyCandidate
description: |
Fetches a list of all candidates from your ashby account
scopes: candidatelastsyncToken
sync_type: incremental
endpoint:
method: GET
path: /candidates
group: Candidates
jobs:
runs: every hour
output: AshbyJob
description: |
Fetches a list of all jobs from your ashby account
scopes: jobslastsyncToken
sync_type: incremental
endpoint:
method: GET
path: /jobs
group: Jobs
actions:
create-application:
output: AshbyCreateApplicationResponse
input: AshbyCreateCandidateInput
description: |
Action to consider a candidate for a job
endpoint:
method: POST
path: /applications
group: Applications
create-note:
output: AshbyCreateNoteResponse
input: AshbyCreateNoteInput
description: |
Action to create a note on a candidate.
endpoint:
method: POST
path: /notes
group: Notes
application-change-source:
output: AshbyResponse
input: ChangeSource
description: |
Action to change source of application.
endpoint:
method: POST
path: /applications/source
group: Applications
scopes:
- candidatesWrite
application-change-stage:
output: AshbyResponse
input: ChangeStage
description: |
Action to change stage of an application.
endpoint:
method: POST
path: /applications/stage
group: Applications
scopes:
- candidatesWrite
application-update:
output: AshbyResponse
input: ChangeSource | ChangeStage | UpdateHistory
description: |
Action to update an application.
endpoint:
method: PATCH
path: /applications
group: Applications
scopes:
- candidatesWrite
version: 1.0.0
application-update-history:
output: AshbyResponse
input: UpdateHistory
description: |
Action to update history an application stage.
endpoint:
method: POST
path: /applications/history
group: Applications
scopes:
- candidatesWrite
create-candidate:
output: AshbyResponse
input: CreateCandidate
description: |
Action to create a candidate.
endpoint:
method: POST
path: /candidates
group: Candidates
scopes:
- candidatesWrite
interview-stage:
output: StagesResponse
input: InterviewStageList
description: |
List all interview stages for an interview plan in order.
endpoint:
method: GET
path: /interviews/stages
group: Interviews
scopes:
- interviewsRead
models:
AshbyCandidate:
id: string
createdAt: date
name: string
primaryEmailAddress:
value: string
type: string
isPrimary: boolean
emailAddresses: string[]
primaryPhoneNumber:
value: string
type: string
isPrimary: boolean
phoneNumbers: string[]
socialLinks: string[]
tags: string[]
position: string
company: string
school: string
applicationIds: string[]
resumeFileHandle:
id: string
name: string
handle: string
fileHandles: string[]
customFields: string[]
profileUrl: string
source:
id: string
title: string
isArchived: boolean
sourceType:
id: string
title: string
isArchived: boolean
creditedToUser:
id: string
firstName: string
lastName: string
email: string
globalRole: string
isEnabled: boolean
updatedAt: date
AshbyJob:
id: string
title: string
confidential: boolean
status: string
employmentType: string
locationId: string
departmentId: string
defaultInterviewPlanId: string
interviewPlanIds: string[]
customFields: string[]
jobPostingIds: string[]
customRequisitionId: string
hiringTeam: string[]
updatedAt: date
location:
id: string
name: string
isArchived: boolean
address:
postalAddress:
addressCountry: string
addressRegion: string
addressLocality: string
isRemote: boolean
openings: string[]
AshbyCreateApplicationResponse:
id: string
createdAt: date
updatedAt: date
status: string
customFields: string[]
candidate:
id: string
name: string
primaryEmailAddress:
value: string
type: string
isPrimary: boolean
primaryPhoneNumber:
value: string
type: string
isPrimary: boolean
currentInterviewStage:
id: string
title: string
type: string
orderInInterviewPlan: number
interviewPlanId: string
source:
id: string
title: string
isArchived: boolean
sourceType:
id: string
title: string
isArchived: boolean
archiveReason:
id: string
text: string
reasonType: string
isArchived: boolean
job:
id: string
title: string
locationId: string
departmentId: string
creditedToUser:
id: string
firstName: string
lastName: string
email: string
globalRole: string
isEnabled: boolean
updatedAt: date
hiringTeam: string[]
appliedViaJobPostingId: string
StagesResponse:
stages: InterviewStageListResponse[]
InterviewStageList:
interviewPlanId: string
AshbyCreateNoteResponse:
id: string
createdAt: date
content: string
author:
id: string
firstName: string
lastName: string
email: string
AshbyCreateCandidateInput:
candidateId: string
jobId: string
interviewPlanId: string | undefined
interviewStageId: string | undefined
sourceId: string | undefined
creditedToUserId: string | undefined
AshbyCreateNoteInput:
candidateId: string
note: string | NoteObject
sendNotifications: boolean | undefined
NoteObject:
value: string
type: string
ChangeStage:
applicationId: string
interviewStageId: string
archiveReasonId?: string
ChangeSource:
applicationId: string
sourceId: string
CreateCandidate:
name: string
email?: string
phoneNumber?: string
linkedInUrl?: string
githubUrl?: string
website?: string
alternateEmailAddresses?: string[]
sourceId?: string
creditedToUserId?: string
location?:
city?: string
region?: string
country?: string
createdAt?: date
AshbyCreateCandidateResponse:
id: string
createdAt?: date
updatedAt?: date
name: string
primaryEmailAddress?:
value: string
type: string
isPrimary: boolean
emailAddresses?: EmailAddressObject[]
primaryPhoneNumber?: PrimaryNumberObject[]
phoneNumbers: PhoneNumbersObject[]
socialLinks: SocialLinksObject[]
tags: TagsObject[]
position?: string | null
company?: string | null
applicationIds: string[]
resumeFileHandle?:
id: string
name: string
handle: string
fileHandles: FileaHandlesObject[]
customFields?: object[]
profileUrl: string
source?:
id: string
title: string
isArchived: boolean
sourceType?:
id: string
title: string
isArchived: string
creditedToUser?:
id: string
firstName: string
lastName: string
email: string
globalRole: string
isEnabled: boolean
updatedAt: date
timezone?: string
primaryLocation?:
id: string
locationSummary: string
locationComponents: LocationComponentsObject[]
EmailAddressObject:
value: string
type: string
isPrimary: boolean
PrimaryNumberObject:
value: string
type: string
isPrimary: boolean
PhoneNumbersObject:
value: string
type: string
isPrimary: boolean
SocialLinksObject:
type: string
url: string
TagsObject:
id: string
title: string
isArchived: boolean
FileaHandlesObject:
id: string
name: string
handle: string
LocationComponentsObject:
type: string
name: string
InterviewStageListResponse:
id: string
title: string
type: string
orderInInterviewPlan: number
interviewStageGroupId?: string
interviewPlanId: string
AshbyResponse:
success: boolean
errors?: string[]
results?: >-
AshByApplicationSuccessObject | AshbyCreateCandidateResponse |
InterviewStageListResponse
moreDataAvailable?: boolean
HiringTeamObject:
email: string
firstName: string
lastName: string
role: string
userId: string
UpdateApplication:
applicationId: string
sourceId?: string
creditedToUserId?: string
createdAt?: date
sendNotifications?: boolean
UpdateAshbyApplication:
applicationId: string
sourceId?: string
interviewStageId?: string
archiveReasonId?: string
applicationHistory?: ApplicationHistoryObject[]
UpdateHistory:
applicationId: string
applicationHistory: ApplicationHistoryObject[]
ApplicationHistoryObject:
stageId: string
stageNumber: number
enteredStageAt: date
applicationHistoryId?: string
archiveReasonId?: string
AshByApplicationSuccessObject:
id: string
createdAt: date
updatedAt: date
status: string
customFields: object[]
candidate:
id: string
name: string
primaryEmailAddress?:
value: string
type: any
isPrimary: string
primaryPhoneNumber?: object
currentInterviewStage:
id: string
title: string
type: string
orderInInterviewPlan: number
interviewStageGroupId?: string
interviewPlanId: string
source?:
id: string
title: string
isArchived: boolean
sourceType:
id: string
title: string
isArchived: boolean
archiveReason?:
id: string
text: string
reasonType: string
isArchived: boolean
archivedAt?: date
job: