@memberjunction/actions-bizapps-formbuilders 2.112.0-beta
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/IMPLEMENTATION_PLAN.md +311 -0
- package/README.md +498 -0
- package/dist/base/base-form-builder.action.d.ts +153 -0
- package/dist/base/base-form-builder.action.d.ts.map +1 -0
- package/dist/base/base-form-builder.action.js +301 -0
- package/dist/base/base-form-builder.action.js.map +1 -0
- package/dist/base/index.d.ts +2 -0
- package/dist/base/index.d.ts.map +1 -0
- package/dist/base/index.js +18 -0
- package/dist/base/index.js.map +1 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +31 -0
- package/dist/index.js.map +1 -0
- package/dist/providers/google-forms/actions/export-csv.action.d.ts +31 -0
- package/dist/providers/google-forms/actions/export-csv.action.d.ts.map +1 -0
- package/dist/providers/google-forms/actions/export-csv.action.js +165 -0
- package/dist/providers/google-forms/actions/export-csv.action.js.map +1 -0
- package/dist/providers/google-forms/actions/get-form.action.d.ts +28 -0
- package/dist/providers/google-forms/actions/get-form.action.d.ts.map +1 -0
- package/dist/providers/google-forms/actions/get-form.action.js +151 -0
- package/dist/providers/google-forms/actions/get-form.action.js.map +1 -0
- package/dist/providers/google-forms/actions/get-single-response.action.d.ts +31 -0
- package/dist/providers/google-forms/actions/get-single-response.action.d.ts.map +1 -0
- package/dist/providers/google-forms/actions/get-single-response.action.js +150 -0
- package/dist/providers/google-forms/actions/get-single-response.action.js.map +1 -0
- package/dist/providers/google-forms/actions/get-statistics.action.d.ts +36 -0
- package/dist/providers/google-forms/actions/get-statistics.action.d.ts.map +1 -0
- package/dist/providers/google-forms/actions/get-statistics.action.js +254 -0
- package/dist/providers/google-forms/actions/get-statistics.action.js.map +1 -0
- package/dist/providers/google-forms/actions/index.d.ts +5 -0
- package/dist/providers/google-forms/actions/index.d.ts.map +1 -0
- package/dist/providers/google-forms/actions/index.js +23 -0
- package/dist/providers/google-forms/actions/index.js.map +1 -0
- package/dist/providers/google-forms/googleforms-base.action.d.ts +197 -0
- package/dist/providers/google-forms/googleforms-base.action.d.ts.map +1 -0
- package/dist/providers/google-forms/googleforms-base.action.js +352 -0
- package/dist/providers/google-forms/googleforms-base.action.js.map +1 -0
- package/dist/providers/google-forms/index.d.ts +3 -0
- package/dist/providers/google-forms/index.d.ts.map +1 -0
- package/dist/providers/google-forms/index.js +21 -0
- package/dist/providers/google-forms/index.js.map +1 -0
- package/dist/providers/jotform/actions/create-form.action.d.ts +61 -0
- package/dist/providers/jotform/actions/create-form.action.d.ts.map +1 -0
- package/dist/providers/jotform/actions/create-form.action.js +259 -0
- package/dist/providers/jotform/actions/create-form.action.js.map +1 -0
- package/dist/providers/jotform/actions/export-csv.action.d.ts +31 -0
- package/dist/providers/jotform/actions/export-csv.action.d.ts.map +1 -0
- package/dist/providers/jotform/actions/export-csv.action.js +187 -0
- package/dist/providers/jotform/actions/export-csv.action.js.map +1 -0
- package/dist/providers/jotform/actions/get-form.action.d.ts +31 -0
- package/dist/providers/jotform/actions/get-form.action.d.ts.map +1 -0
- package/dist/providers/jotform/actions/get-form.action.js +188 -0
- package/dist/providers/jotform/actions/get-form.action.js.map +1 -0
- package/dist/providers/jotform/actions/get-single-submission.action.d.ts +31 -0
- package/dist/providers/jotform/actions/get-single-submission.action.d.ts.map +1 -0
- package/dist/providers/jotform/actions/get-single-submission.action.js +138 -0
- package/dist/providers/jotform/actions/get-single-submission.action.js.map +1 -0
- package/dist/providers/jotform/actions/get-statistics.action.d.ts +39 -0
- package/dist/providers/jotform/actions/get-statistics.action.d.ts.map +1 -0
- package/dist/providers/jotform/actions/get-statistics.action.js +290 -0
- package/dist/providers/jotform/actions/get-statistics.action.js.map +1 -0
- package/dist/providers/jotform/actions/get-submissions.action.d.ts +34 -0
- package/dist/providers/jotform/actions/get-submissions.action.d.ts.map +1 -0
- package/dist/providers/jotform/actions/get-submissions.action.js +218 -0
- package/dist/providers/jotform/actions/get-submissions.action.js.map +1 -0
- package/dist/providers/jotform/actions/index.d.ts +9 -0
- package/dist/providers/jotform/actions/index.d.ts.map +1 -0
- package/dist/providers/jotform/actions/index.js +27 -0
- package/dist/providers/jotform/actions/index.js.map +1 -0
- package/dist/providers/jotform/actions/update-form.action.d.ts +38 -0
- package/dist/providers/jotform/actions/update-form.action.d.ts.map +1 -0
- package/dist/providers/jotform/actions/update-form.action.js +232 -0
- package/dist/providers/jotform/actions/update-form.action.js.map +1 -0
- package/dist/providers/jotform/actions/watch-new-submissions.action.d.ts +32 -0
- package/dist/providers/jotform/actions/watch-new-submissions.action.d.ts.map +1 -0
- package/dist/providers/jotform/actions/watch-new-submissions.action.js +229 -0
- package/dist/providers/jotform/actions/watch-new-submissions.action.js.map +1 -0
- package/dist/providers/jotform/index.d.ts +3 -0
- package/dist/providers/jotform/index.d.ts.map +1 -0
- package/dist/providers/jotform/index.js +21 -0
- package/dist/providers/jotform/index.js.map +1 -0
- package/dist/providers/jotform/jotform-base.action.d.ts +96 -0
- package/dist/providers/jotform/jotform-base.action.d.ts.map +1 -0
- package/dist/providers/jotform/jotform-base.action.js +269 -0
- package/dist/providers/jotform/jotform-base.action.js.map +1 -0
- package/dist/providers/surveymonkey/actions/create-survey.action.d.ts +48 -0
- package/dist/providers/surveymonkey/actions/create-survey.action.d.ts.map +1 -0
- package/dist/providers/surveymonkey/actions/create-survey.action.js +192 -0
- package/dist/providers/surveymonkey/actions/create-survey.action.js.map +1 -0
- package/dist/providers/surveymonkey/actions/export-csv.action.d.ts +30 -0
- package/dist/providers/surveymonkey/actions/export-csv.action.d.ts.map +1 -0
- package/dist/providers/surveymonkey/actions/export-csv.action.js +173 -0
- package/dist/providers/surveymonkey/actions/export-csv.action.js.map +1 -0
- package/dist/providers/surveymonkey/actions/get-responses.action.d.ts +33 -0
- package/dist/providers/surveymonkey/actions/get-responses.action.d.ts.map +1 -0
- package/dist/providers/surveymonkey/actions/get-responses.action.js +243 -0
- package/dist/providers/surveymonkey/actions/get-responses.action.js.map +1 -0
- package/dist/providers/surveymonkey/actions/get-single-response.action.d.ts +30 -0
- package/dist/providers/surveymonkey/actions/get-single-response.action.d.ts.map +1 -0
- package/dist/providers/surveymonkey/actions/get-single-response.action.js +149 -0
- package/dist/providers/surveymonkey/actions/get-single-response.action.js.map +1 -0
- package/dist/providers/surveymonkey/actions/get-statistics.action.d.ts +38 -0
- package/dist/providers/surveymonkey/actions/get-statistics.action.d.ts.map +1 -0
- package/dist/providers/surveymonkey/actions/get-statistics.action.js +261 -0
- package/dist/providers/surveymonkey/actions/get-statistics.action.js.map +1 -0
- package/dist/providers/surveymonkey/actions/get-survey.action.d.ts +27 -0
- package/dist/providers/surveymonkey/actions/get-survey.action.d.ts.map +1 -0
- package/dist/providers/surveymonkey/actions/get-survey.action.js +180 -0
- package/dist/providers/surveymonkey/actions/get-survey.action.js.map +1 -0
- package/dist/providers/surveymonkey/actions/index.d.ts +9 -0
- package/dist/providers/surveymonkey/actions/index.d.ts.map +1 -0
- package/dist/providers/surveymonkey/actions/index.js +27 -0
- package/dist/providers/surveymonkey/actions/index.js.map +1 -0
- package/dist/providers/surveymonkey/actions/update-survey.action.d.ts +39 -0
- package/dist/providers/surveymonkey/actions/update-survey.action.d.ts.map +1 -0
- package/dist/providers/surveymonkey/actions/update-survey.action.js +217 -0
- package/dist/providers/surveymonkey/actions/update-survey.action.js.map +1 -0
- package/dist/providers/surveymonkey/actions/watch-new-responses.action.d.ts +31 -0
- package/dist/providers/surveymonkey/actions/watch-new-responses.action.d.ts.map +1 -0
- package/dist/providers/surveymonkey/actions/watch-new-responses.action.js +214 -0
- package/dist/providers/surveymonkey/actions/watch-new-responses.action.js.map +1 -0
- package/dist/providers/surveymonkey/index.d.ts +3 -0
- package/dist/providers/surveymonkey/index.d.ts.map +1 -0
- package/dist/providers/surveymonkey/index.js +21 -0
- package/dist/providers/surveymonkey/index.js.map +1 -0
- package/dist/providers/surveymonkey/surveymonkey-base.action.d.ts +193 -0
- package/dist/providers/surveymonkey/surveymonkey-base.action.d.ts.map +1 -0
- package/dist/providers/surveymonkey/surveymonkey-base.action.js +329 -0
- package/dist/providers/surveymonkey/surveymonkey-base.action.js.map +1 -0
- package/dist/providers/typeform/actions/create-form.action.d.ts +40 -0
- package/dist/providers/typeform/actions/create-form.action.d.ts.map +1 -0
- package/dist/providers/typeform/actions/create-form.action.js +205 -0
- package/dist/providers/typeform/actions/create-form.action.js.map +1 -0
- package/dist/providers/typeform/actions/export-csv.action.d.ts +31 -0
- package/dist/providers/typeform/actions/export-csv.action.d.ts.map +1 -0
- package/dist/providers/typeform/actions/export-csv.action.js +182 -0
- package/dist/providers/typeform/actions/export-csv.action.js.map +1 -0
- package/dist/providers/typeform/actions/get-form.action.d.ts +28 -0
- package/dist/providers/typeform/actions/get-form.action.d.ts.map +1 -0
- package/dist/providers/typeform/actions/get-form.action.js +172 -0
- package/dist/providers/typeform/actions/get-form.action.js.map +1 -0
- package/dist/providers/typeform/actions/get-responses.action.d.ts +34 -0
- package/dist/providers/typeform/actions/get-responses.action.d.ts.map +1 -0
- package/dist/providers/typeform/actions/get-responses.action.js +238 -0
- package/dist/providers/typeform/actions/get-responses.action.js.map +1 -0
- package/dist/providers/typeform/actions/get-single-response.action.d.ts +31 -0
- package/dist/providers/typeform/actions/get-single-response.action.d.ts.map +1 -0
- package/dist/providers/typeform/actions/get-single-response.action.js +161 -0
- package/dist/providers/typeform/actions/get-single-response.action.js.map +1 -0
- package/dist/providers/typeform/actions/get-statistics.action.d.ts +33 -0
- package/dist/providers/typeform/actions/get-statistics.action.d.ts.map +1 -0
- package/dist/providers/typeform/actions/get-statistics.action.js +257 -0
- package/dist/providers/typeform/actions/get-statistics.action.js.map +1 -0
- package/dist/providers/typeform/actions/index.d.ts +9 -0
- package/dist/providers/typeform/actions/index.d.ts.map +1 -0
- package/dist/providers/typeform/actions/index.js +27 -0
- package/dist/providers/typeform/actions/index.js.map +1 -0
- package/dist/providers/typeform/actions/update-form.action.d.ts +38 -0
- package/dist/providers/typeform/actions/update-form.action.d.ts.map +1 -0
- package/dist/providers/typeform/actions/update-form.action.js +228 -0
- package/dist/providers/typeform/actions/update-form.action.js.map +1 -0
- package/dist/providers/typeform/actions/watch-new-responses.action.d.ts +32 -0
- package/dist/providers/typeform/actions/watch-new-responses.action.d.ts.map +1 -0
- package/dist/providers/typeform/actions/watch-new-responses.action.js +215 -0
- package/dist/providers/typeform/actions/watch-new-responses.action.js.map +1 -0
- package/dist/providers/typeform/index.d.ts +3 -0
- package/dist/providers/typeform/index.d.ts.map +1 -0
- package/dist/providers/typeform/index.js +21 -0
- package/dist/providers/typeform/index.js.map +1 -0
- package/dist/providers/typeform/typeform-base.action.d.ts +121 -0
- package/dist/providers/typeform/typeform-base.action.d.ts.map +1 -0
- package/dist/providers/typeform/typeform-base.action.js +292 -0
- package/dist/providers/typeform/typeform-base.action.js.map +1 -0
- package/package.json +41 -0
- package/src/base/base-form-builder.action.ts +403 -0
- package/src/base/index.ts +1 -0
- package/src/index.ts +18 -0
- package/src/providers/google-forms/actions/export-csv.action.ts +167 -0
- package/src/providers/google-forms/actions/get-form.action.ts +151 -0
- package/src/providers/google-forms/actions/get-single-response.action.ts +150 -0
- package/src/providers/google-forms/actions/get-statistics.action.ts +273 -0
- package/src/providers/google-forms/actions/index.ts +7 -0
- package/src/providers/google-forms/googleforms-base.action.ts +517 -0
- package/src/providers/google-forms/index.ts +5 -0
- package/src/providers/jotform/actions/create-form.action.ts +281 -0
- package/src/providers/jotform/actions/export-csv.action.ts +189 -0
- package/src/providers/jotform/actions/get-form.action.ts +189 -0
- package/src/providers/jotform/actions/get-single-submission.action.ts +137 -0
- package/src/providers/jotform/actions/get-statistics.action.ts +308 -0
- package/src/providers/jotform/actions/get-submissions.action.ts +220 -0
- package/src/providers/jotform/actions/index.ts +11 -0
- package/src/providers/jotform/actions/update-form.action.ts +254 -0
- package/src/providers/jotform/actions/watch-new-submissions.action.ts +238 -0
- package/src/providers/jotform/index.ts +5 -0
- package/src/providers/jotform/jotform-base.action.ts +365 -0
- package/src/providers/surveymonkey/actions/create-survey.action.ts +196 -0
- package/src/providers/surveymonkey/actions/export-csv.action.ts +175 -0
- package/src/providers/surveymonkey/actions/get-responses.action.ts +245 -0
- package/src/providers/surveymonkey/actions/get-single-response.action.ts +148 -0
- package/src/providers/surveymonkey/actions/get-statistics.action.ts +280 -0
- package/src/providers/surveymonkey/actions/get-survey.action.ts +181 -0
- package/src/providers/surveymonkey/actions/index.ts +11 -0
- package/src/providers/surveymonkey/actions/update-survey.action.ts +234 -0
- package/src/providers/surveymonkey/actions/watch-new-responses.action.ts +221 -0
- package/src/providers/surveymonkey/index.ts +5 -0
- package/src/providers/surveymonkey/surveymonkey-base.action.ts +505 -0
- package/src/providers/typeform/actions/create-form.action.ts +211 -0
- package/src/providers/typeform/actions/export-csv.action.ts +184 -0
- package/src/providers/typeform/actions/get-form.action.ts +173 -0
- package/src/providers/typeform/actions/get-responses.action.ts +242 -0
- package/src/providers/typeform/actions/get-single-response.action.ts +160 -0
- package/src/providers/typeform/actions/get-statistics.action.ts +276 -0
- package/src/providers/typeform/actions/index.ts +11 -0
- package/src/providers/typeform/actions/update-form.action.ts +235 -0
- package/src/providers/typeform/actions/watch-new-responses.action.ts +222 -0
- package/src/providers/typeform/index.ts +5 -0
- package/src/providers/typeform/typeform-base.action.ts +387 -0
- package/tsconfig.json +18 -0
package/README.md
ADDED
|
@@ -0,0 +1,498 @@
|
|
|
1
|
+
# Form Builder Actions for MemberJunction
|
|
2
|
+
|
|
3
|
+
This package provides integration actions for popular form builder and survey platforms, enabling AI agents, workflows, and applications to programmatically interact with forms, retrieve responses, and analyze submission data.
|
|
4
|
+
|
|
5
|
+
## Supported Platforms
|
|
6
|
+
|
|
7
|
+
### ✅ Typeform (Implemented)
|
|
8
|
+
Complete integration with Typeform's Responses API and Create API.
|
|
9
|
+
- **8 Actions**: Get responses, get single response, get statistics, export CSV, watch new responses, get form details, create form, update form
|
|
10
|
+
- **Authentication**: Personal access token (Bearer)
|
|
11
|
+
- **Capabilities**: Full CRUD - read responses and manage forms
|
|
12
|
+
|
|
13
|
+
### ✅ JotForm (Implemented)
|
|
14
|
+
Complete integration with JotForm's Submissions API and Form API.
|
|
15
|
+
- **8 Actions**: Get submissions, get single submission, get statistics, export CSV, watch new submissions, get form details, create form, update form
|
|
16
|
+
- **Authentication**: API key (query parameter)
|
|
17
|
+
- **Regional Support**: US, EU, and HIPAA endpoints
|
|
18
|
+
- **Capabilities**: Full CRUD - read submissions and manage forms
|
|
19
|
+
|
|
20
|
+
### ✅ SurveyMonkey (Implemented)
|
|
21
|
+
Complete integration with SurveyMonkey's Responses API and Surveys API.
|
|
22
|
+
- **8 Actions**: Get responses, get single response, get statistics, export CSV, watch new responses, get survey details, create survey, update survey
|
|
23
|
+
- **Authentication**: OAuth 2.0 access token
|
|
24
|
+
- **Capabilities**: Full CRUD - read responses and manage surveys
|
|
25
|
+
|
|
26
|
+
### ✅ Google Forms (Implemented)
|
|
27
|
+
Read-only integration with Google Forms API.
|
|
28
|
+
- **5 Actions**: Get responses, get single response, get statistics, export CSV, get form details
|
|
29
|
+
- **Authentication**: OAuth 2.0 access token with Google Cloud credentials
|
|
30
|
+
- **Capabilities**: Read-only - retrieve responses and form configuration (no create/update API available)
|
|
31
|
+
- **Integration**: Works seamlessly with Google Workspace
|
|
32
|
+
|
|
33
|
+
### 🔜 Future Platforms
|
|
34
|
+
|
|
35
|
+
#### Microsoft Forms
|
|
36
|
+
**Why**: Seamless Microsoft 365 integration
|
|
37
|
+
- Forms and quizzes
|
|
38
|
+
- Excel export
|
|
39
|
+
- Teams integration
|
|
40
|
+
- Education features
|
|
41
|
+
- **Note**: No official public API currently available
|
|
42
|
+
|
|
43
|
+
#### Formstack
|
|
44
|
+
**Why**: Enterprise workflow automation
|
|
45
|
+
- Document generation
|
|
46
|
+
- Salesforce integration
|
|
47
|
+
- HIPAA compliance
|
|
48
|
+
- Advanced routing
|
|
49
|
+
|
|
50
|
+
#### Wufoo
|
|
51
|
+
**Why**: User-friendly with strong reporting
|
|
52
|
+
- Payment processing
|
|
53
|
+
- Report designer
|
|
54
|
+
- Entry management
|
|
55
|
+
- Custom themes
|
|
56
|
+
|
|
57
|
+
#### Typeform Alternatives
|
|
58
|
+
- **Tally** - Open-source, free alternative
|
|
59
|
+
- **Fillout** - Modern, flexible forms
|
|
60
|
+
- **Paperform** - Long-form capable
|
|
61
|
+
|
|
62
|
+
---
|
|
63
|
+
|
|
64
|
+
## Typeform Actions
|
|
65
|
+
|
|
66
|
+
### Response Actions
|
|
67
|
+
|
|
68
|
+
#### 1. Get Typeform Responses
|
|
69
|
+
Retrieve responses with comprehensive filtering options.
|
|
70
|
+
|
|
71
|
+
**Parameters:**
|
|
72
|
+
- `FormID` - Typeform form ID
|
|
73
|
+
- `APIToken` - Personal access token
|
|
74
|
+
- `PageSize` - Results per page (1-1000)
|
|
75
|
+
- `Since` / `Until` - Date range filters
|
|
76
|
+
- `Completed` - Filter by completion status
|
|
77
|
+
- `Sort` - Order results
|
|
78
|
+
- `Query` - Text search
|
|
79
|
+
- `GetAllPages` - Auto-paginate through all responses
|
|
80
|
+
|
|
81
|
+
**Use Cases:**
|
|
82
|
+
- Data analysis and reporting
|
|
83
|
+
- CRM integration
|
|
84
|
+
- Response monitoring
|
|
85
|
+
- Workflow triggers
|
|
86
|
+
|
|
87
|
+
---
|
|
88
|
+
|
|
89
|
+
#### 2. Get Single Typeform Response
|
|
90
|
+
Retrieve specific response by token.
|
|
91
|
+
|
|
92
|
+
**Parameters:**
|
|
93
|
+
- `FormID` - Form ID
|
|
94
|
+
- `ResponseToken` - Unique response identifier
|
|
95
|
+
- `APIToken` - Access token
|
|
96
|
+
|
|
97
|
+
**Use Cases:**
|
|
98
|
+
- Response lookup
|
|
99
|
+
- Detail verification
|
|
100
|
+
- Follow-up workflows
|
|
101
|
+
|
|
102
|
+
---
|
|
103
|
+
|
|
104
|
+
#### 3. Get Typeform Response Statistics
|
|
105
|
+
Calculate aggregate analytics from responses.
|
|
106
|
+
|
|
107
|
+
**Parameters:**
|
|
108
|
+
- `FormID` - Form ID
|
|
109
|
+
- `APIToken` - Access token
|
|
110
|
+
- `Since` / `Until` - Analysis date range
|
|
111
|
+
- `IncludeTopAnswers` - Popular answers analysis
|
|
112
|
+
- `MaxResponses` - Analysis limit
|
|
113
|
+
|
|
114
|
+
**Output:**
|
|
115
|
+
- Total/completed/partial counts
|
|
116
|
+
- Completion rate
|
|
117
|
+
- Daily/hourly distribution
|
|
118
|
+
- Popular answers by field
|
|
119
|
+
|
|
120
|
+
**Use Cases:**
|
|
121
|
+
- Dashboard reporting
|
|
122
|
+
- Form performance analysis
|
|
123
|
+
- A/B testing insights
|
|
124
|
+
- Trend identification
|
|
125
|
+
|
|
126
|
+
---
|
|
127
|
+
|
|
128
|
+
#### 4. Export Typeform Responses to CSV
|
|
129
|
+
Convert responses to CSV format.
|
|
130
|
+
|
|
131
|
+
**Parameters:**
|
|
132
|
+
- `FormID` - Form ID
|
|
133
|
+
- `APIToken` - Access token
|
|
134
|
+
- `Since` / `Until` - Date range
|
|
135
|
+
- `IncludeMetadata` - Include browser/platform data
|
|
136
|
+
- `Delimiter` - CSV separator
|
|
137
|
+
|
|
138
|
+
**Use Cases:**
|
|
139
|
+
- Excel/Google Sheets import
|
|
140
|
+
- Data archival
|
|
141
|
+
- Third-party tool integration
|
|
142
|
+
- Backup creation
|
|
143
|
+
|
|
144
|
+
---
|
|
145
|
+
|
|
146
|
+
#### 5. Watch for New Typeform Responses
|
|
147
|
+
Poll for new submissions since last check.
|
|
148
|
+
|
|
149
|
+
**Parameters:**
|
|
150
|
+
- `FormID` - Form ID
|
|
151
|
+
- `APIToken` - Access token
|
|
152
|
+
- `LastCheckedTimestamp` - Previous check time
|
|
153
|
+
- `OnlyCompleted` - Filter partial responses
|
|
154
|
+
|
|
155
|
+
**Use Cases:**
|
|
156
|
+
- Real-time notifications
|
|
157
|
+
- Workflow automation
|
|
158
|
+
- Auto-responders
|
|
159
|
+
- CRM sync triggers
|
|
160
|
+
|
|
161
|
+
---
|
|
162
|
+
|
|
163
|
+
### Form Management Actions
|
|
164
|
+
|
|
165
|
+
#### 6. Get Typeform Details
|
|
166
|
+
Retrieve complete form configuration.
|
|
167
|
+
|
|
168
|
+
**Parameters:**
|
|
169
|
+
- `FormID` - Form ID
|
|
170
|
+
- `APIToken` - Access token
|
|
171
|
+
|
|
172
|
+
**Output:**
|
|
173
|
+
- Title, fields, settings
|
|
174
|
+
- Logic jumps
|
|
175
|
+
- Theme configuration
|
|
176
|
+
- Hidden fields
|
|
177
|
+
- Workspace info
|
|
178
|
+
|
|
179
|
+
**Use Cases:**
|
|
180
|
+
- Form backup
|
|
181
|
+
- Configuration inspection
|
|
182
|
+
- Template creation
|
|
183
|
+
- Migration prep
|
|
184
|
+
|
|
185
|
+
---
|
|
186
|
+
|
|
187
|
+
#### 7. Create Typeform
|
|
188
|
+
Create new forms programmatically.
|
|
189
|
+
|
|
190
|
+
**Parameters:**
|
|
191
|
+
- `APIToken` - Access token with create permissions
|
|
192
|
+
- `Title` - Form title
|
|
193
|
+
- `Fields` - Array of field definitions
|
|
194
|
+
- `Settings` - Form settings (optional)
|
|
195
|
+
- `Logic` - Conditional logic (optional)
|
|
196
|
+
- `ThemeID` - Visual theme (optional)
|
|
197
|
+
- `WorkspaceID` - Workspace assignment (optional)
|
|
198
|
+
|
|
199
|
+
**Field Types Supported:**
|
|
200
|
+
- `short_text`, `long_text`, `email`, `number`
|
|
201
|
+
- `dropdown`, `multiple_choice`, `yes_no`
|
|
202
|
+
- `rating`, `opinion_scale`, `date`
|
|
203
|
+
- `phone_number`, `website`, `file_upload`
|
|
204
|
+
- `payment`, `legal`, `matrix`, `ranking`, `picture_choice`
|
|
205
|
+
|
|
206
|
+
**Use Cases:**
|
|
207
|
+
- Dynamic form generation
|
|
208
|
+
- Template instantiation
|
|
209
|
+
- AI-generated surveys
|
|
210
|
+
- Event registration automation
|
|
211
|
+
|
|
212
|
+
---
|
|
213
|
+
|
|
214
|
+
#### 8. Update Typeform
|
|
215
|
+
Modify existing forms safely.
|
|
216
|
+
|
|
217
|
+
**Parameters:**
|
|
218
|
+
- `FormID` - Form to update
|
|
219
|
+
- `APIToken` - Access token
|
|
220
|
+
- `MergeWithExisting` - Safe update mode (default: true)
|
|
221
|
+
- `Title` - New title (optional)
|
|
222
|
+
- `Fields` - Updated fields (optional)
|
|
223
|
+
- `Settings` - Updated settings (optional)
|
|
224
|
+
|
|
225
|
+
**⚠️ Important:**
|
|
226
|
+
- `MergeWithExisting=true` - Fetches current form and merges changes (SAFE)
|
|
227
|
+
- `MergeWithExisting=false` - Replaces entire form (DANGEROUS - omitted fields are deleted)
|
|
228
|
+
|
|
229
|
+
**Use Cases:**
|
|
230
|
+
- Form title updates
|
|
231
|
+
- Adding/removing fields
|
|
232
|
+
- Settings adjustments
|
|
233
|
+
- Logic jump modifications
|
|
234
|
+
|
|
235
|
+
---
|
|
236
|
+
|
|
237
|
+
## Installation
|
|
238
|
+
|
|
239
|
+
```bash
|
|
240
|
+
npm install @memberjunction/actions-bizapps-formbuilders
|
|
241
|
+
```
|
|
242
|
+
|
|
243
|
+
## Authentication
|
|
244
|
+
|
|
245
|
+
### Typeform API Token
|
|
246
|
+
|
|
247
|
+
1. Go to https://admin.typeform.com/account#/section/tokens
|
|
248
|
+
2. Create a new personal access token
|
|
249
|
+
3. Grant required scopes:
|
|
250
|
+
- `forms:read` - Read form responses
|
|
251
|
+
- `forms:write` - Create/update forms
|
|
252
|
+
- `responses:read` - Read form responses
|
|
253
|
+
|
|
254
|
+
### Environment Variables (Recommended)
|
|
255
|
+
|
|
256
|
+
```bash
|
|
257
|
+
export BIZAPPS_TYPEFORM_{COMPANY_ID}_API_TOKEN=tfp_...
|
|
258
|
+
```
|
|
259
|
+
|
|
260
|
+
### Database Configuration (Alternative)
|
|
261
|
+
|
|
262
|
+
Store tokens in `Company Integrations` table with Integration Name = "Typeform"
|
|
263
|
+
|
|
264
|
+
---
|
|
265
|
+
|
|
266
|
+
## Usage Examples
|
|
267
|
+
|
|
268
|
+
### Example 1: AI Agent Analyzing Survey Responses
|
|
269
|
+
|
|
270
|
+
```typescript
|
|
271
|
+
import { RunView } from '@memberjunction/core';
|
|
272
|
+
import { AIPromptRunner } from '@memberjunction/ai-prompts';
|
|
273
|
+
|
|
274
|
+
// Get recent responses
|
|
275
|
+
const getResponsesResult = await runAction({
|
|
276
|
+
ActionName: 'Get Typeform Responses',
|
|
277
|
+
Params: [
|
|
278
|
+
{ Name: 'FormID', Value: 'abc123' },
|
|
279
|
+
{ Name: 'APIToken', Value: 'tfp_...' },
|
|
280
|
+
{ Name: 'Since', Value: '2024-01-01T00:00:00Z' },
|
|
281
|
+
{ Name: 'GetAllPages', Value: true }
|
|
282
|
+
]
|
|
283
|
+
});
|
|
284
|
+
|
|
285
|
+
const responses = getResponsesResult.Params.find(p => p.Name === 'Responses').Value;
|
|
286
|
+
|
|
287
|
+
// AI analyzes sentiment
|
|
288
|
+
const aiResult = await promptRunner.ExecutePrompt({
|
|
289
|
+
prompt: 'Analyze customer satisfaction from these survey responses',
|
|
290
|
+
data: { responses }
|
|
291
|
+
});
|
|
292
|
+
```
|
|
293
|
+
|
|
294
|
+
### Example 2: Automated Form Creation
|
|
295
|
+
|
|
296
|
+
```typescript
|
|
297
|
+
// AI generates a customer feedback form
|
|
298
|
+
const formData = {
|
|
299
|
+
title: 'Q1 2024 Customer Feedback Survey',
|
|
300
|
+
fields: [
|
|
301
|
+
{
|
|
302
|
+
type: 'short_text',
|
|
303
|
+
title: 'What is your name?',
|
|
304
|
+
ref: 'name'
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
type: 'email',
|
|
308
|
+
title: 'What is your email address?',
|
|
309
|
+
ref: 'email',
|
|
310
|
+
validations: { required: true }
|
|
311
|
+
},
|
|
312
|
+
{
|
|
313
|
+
type: 'rating',
|
|
314
|
+
title: 'How satisfied are you with our product?',
|
|
315
|
+
ref: 'satisfaction',
|
|
316
|
+
properties: {
|
|
317
|
+
steps: 5,
|
|
318
|
+
shape: 'star'
|
|
319
|
+
}
|
|
320
|
+
},
|
|
321
|
+
{
|
|
322
|
+
type: 'long_text',
|
|
323
|
+
title: 'What could we improve?',
|
|
324
|
+
ref: 'feedback'
|
|
325
|
+
}
|
|
326
|
+
],
|
|
327
|
+
settings: {
|
|
328
|
+
is_public: true,
|
|
329
|
+
show_progress_bar: true,
|
|
330
|
+
show_typeform_branding: false
|
|
331
|
+
}
|
|
332
|
+
};
|
|
333
|
+
|
|
334
|
+
const result = await runAction({
|
|
335
|
+
ActionName: 'Create Typeform',
|
|
336
|
+
Params: [
|
|
337
|
+
{ Name: 'APIToken', Value: 'tfp_...' },
|
|
338
|
+
{ Name: 'Title', Value: formData.title },
|
|
339
|
+
{ Name: 'Fields', Value: formData.fields },
|
|
340
|
+
{ Name: 'Settings', Value: formData.settings }
|
|
341
|
+
]
|
|
342
|
+
});
|
|
343
|
+
|
|
344
|
+
const formUrl = result.Params.find(p => p.Name === 'FormURL').Value;
|
|
345
|
+
console.log(`Form created: ${formUrl}`);
|
|
346
|
+
```
|
|
347
|
+
|
|
348
|
+
### Example 3: Real-Time Response Monitoring
|
|
349
|
+
|
|
350
|
+
```typescript
|
|
351
|
+
// Check for new responses every 5 minutes
|
|
352
|
+
setInterval(async () => {
|
|
353
|
+
const result = await runAction({
|
|
354
|
+
ActionName: 'Watch for New Typeform Responses',
|
|
355
|
+
Params: [
|
|
356
|
+
{ Name: 'FormID', Value: 'abc123' },
|
|
357
|
+
{ Name: 'APIToken', Value: 'tfp_...' },
|
|
358
|
+
{ Name: 'LastCheckedTimestamp', Value: lastChecked },
|
|
359
|
+
{ Name: 'OnlyCompleted', Value: true }
|
|
360
|
+
]
|
|
361
|
+
});
|
|
362
|
+
|
|
363
|
+
const newResponses = result.Params.find(p => p.Name === 'NewResponses').Value;
|
|
364
|
+
const hasNewResponses = result.Params.find(p => p.Name === 'HasNewResponses').Value;
|
|
365
|
+
|
|
366
|
+
if (hasNewResponses) {
|
|
367
|
+
// Send notifications
|
|
368
|
+
for (const response of newResponses) {
|
|
369
|
+
await sendNotification({
|
|
370
|
+
subject: 'New Form Submission',
|
|
371
|
+
body: `Received response from ${response.responseId}`,
|
|
372
|
+
data: response
|
|
373
|
+
});
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
// Update last checked timestamp
|
|
377
|
+
lastChecked = result.Params.find(p => p.Name === 'LastChecked').Value;
|
|
378
|
+
}
|
|
379
|
+
}, 5 * 60 * 1000); // Every 5 minutes
|
|
380
|
+
```
|
|
381
|
+
|
|
382
|
+
### Example 4: Export and Analyze
|
|
383
|
+
|
|
384
|
+
```typescript
|
|
385
|
+
// Export responses to CSV
|
|
386
|
+
const exportResult = await runAction({
|
|
387
|
+
ActionName: 'Export Typeform Responses to CSV',
|
|
388
|
+
Params: [
|
|
389
|
+
{ Name: 'FormID', Value: 'abc123' },
|
|
390
|
+
{ Name: 'APIToken', Value: 'tfp_...' },
|
|
391
|
+
{ Name: 'Since', Value: '2024-01-01T00:00:00Z' },
|
|
392
|
+
{ Name: 'IncludeMetadata', Value: true }
|
|
393
|
+
]
|
|
394
|
+
});
|
|
395
|
+
|
|
396
|
+
const csvData = exportResult.Params.find(p => p.Name === 'CSVData').Value;
|
|
397
|
+
|
|
398
|
+
// Save to file storage
|
|
399
|
+
await fs.writeFile('responses.csv', csvData);
|
|
400
|
+
|
|
401
|
+
// Or get statistics
|
|
402
|
+
const statsResult = await runAction({
|
|
403
|
+
ActionName: 'Get Typeform Response Statistics',
|
|
404
|
+
Params: [
|
|
405
|
+
{ Name: 'FormID', Value: 'abc123' },
|
|
406
|
+
{ Name: 'APIToken', Value: 'tfp_...' },
|
|
407
|
+
{ Name: 'Since', Value: '2024-01-01T00:00:00Z' },
|
|
408
|
+
{ Name: 'IncludeTopAnswers', Value: true }
|
|
409
|
+
]
|
|
410
|
+
});
|
|
411
|
+
|
|
412
|
+
const stats = statsResult.Params.find(p => p.Name === 'Statistics').Value;
|
|
413
|
+
console.log(`Completion Rate: ${stats.completionRate}%`);
|
|
414
|
+
console.log(`Total Responses: ${stats.totalResponses}`);
|
|
415
|
+
```
|
|
416
|
+
|
|
417
|
+
---
|
|
418
|
+
|
|
419
|
+
## Error Handling
|
|
420
|
+
|
|
421
|
+
All actions return consistent error codes:
|
|
422
|
+
|
|
423
|
+
- `SUCCESS` - Operation completed
|
|
424
|
+
- `MISSING_FORM_ID` - FormID parameter required
|
|
425
|
+
- `MISSING_API_TOKEN` - APIToken parameter required
|
|
426
|
+
- `MISSING_CONTEXT_USER` - Context user required
|
|
427
|
+
- `ERROR` - General error (check Message for details)
|
|
428
|
+
|
|
429
|
+
Typeform-specific errors are automatically handled:
|
|
430
|
+
- 401 - Invalid API token
|
|
431
|
+
- 403 - Insufficient permissions
|
|
432
|
+
- 404 - Form/response not found
|
|
433
|
+
- 429 - Rate limit (automatic retry with backoff)
|
|
434
|
+
|
|
435
|
+
---
|
|
436
|
+
|
|
437
|
+
## Rate Limiting
|
|
438
|
+
|
|
439
|
+
Typeform API rate limits:
|
|
440
|
+
- Free plan: 100 requests/minute
|
|
441
|
+
- Basic plan: 200 requests/minute
|
|
442
|
+
- Plus/Business: Higher limits
|
|
443
|
+
|
|
444
|
+
The package automatically:
|
|
445
|
+
- Retries on 429 errors
|
|
446
|
+
- Respects `Retry-After` headers
|
|
447
|
+
- Implements exponential backoff
|
|
448
|
+
|
|
449
|
+
---
|
|
450
|
+
|
|
451
|
+
## Best Practices
|
|
452
|
+
|
|
453
|
+
### 1. Use GetAllPages Wisely
|
|
454
|
+
Only use `GetAllPages=true` when you need complete data. For large forms, consider:
|
|
455
|
+
- Date range filtering (`Since`/`Until`)
|
|
456
|
+
- Limiting with `MaxResponses`
|
|
457
|
+
- Pagination with `After`/`Before` tokens
|
|
458
|
+
|
|
459
|
+
### 2. Cache Form Details
|
|
460
|
+
Form structure changes infrequently. Cache the result of `Get Typeform Details` to avoid unnecessary API calls.
|
|
461
|
+
|
|
462
|
+
### 3. Update Forms Safely
|
|
463
|
+
Always use `MergeWithExisting=true` when updating forms unless you're intentionally replacing the entire form.
|
|
464
|
+
|
|
465
|
+
### 4. Monitor in Batches
|
|
466
|
+
When watching for new responses, use reasonable poll intervals:
|
|
467
|
+
- High-traffic forms: 1-5 minutes
|
|
468
|
+
- Low-traffic forms: 15-60 minutes
|
|
469
|
+
|
|
470
|
+
### 5. Export in Chunks
|
|
471
|
+
For large datasets, export responses in date ranges rather than all at once.
|
|
472
|
+
|
|
473
|
+
---
|
|
474
|
+
|
|
475
|
+
## Contributing
|
|
476
|
+
|
|
477
|
+
To add a new form platform:
|
|
478
|
+
|
|
479
|
+
1. Create provider directory: `src/providers/{platform}/`
|
|
480
|
+
2. Extend `BaseFormBuilderAction`
|
|
481
|
+
3. Implement platform-specific API client
|
|
482
|
+
4. Create actions for common operations
|
|
483
|
+
5. Add tests
|
|
484
|
+
6. Update this README
|
|
485
|
+
|
|
486
|
+
---
|
|
487
|
+
|
|
488
|
+
## License
|
|
489
|
+
|
|
490
|
+
ISC
|
|
491
|
+
|
|
492
|
+
---
|
|
493
|
+
|
|
494
|
+
## Support
|
|
495
|
+
|
|
496
|
+
- Documentation: https://docs.memberjunction.com
|
|
497
|
+
- GitHub Issues: https://github.com/MemberJunction/MJ/issues
|
|
498
|
+
- Typeform API Docs: https://developer.typeform.com
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
import { ActionParam } from '@memberjunction/actions-base';
|
|
2
|
+
import { BaseAction } from '@memberjunction/actions';
|
|
3
|
+
import { UserInfo } from '@memberjunction/core';
|
|
4
|
+
import { CompanyIntegrationEntity } from '@memberjunction/core-entities';
|
|
5
|
+
/**
|
|
6
|
+
* Common response structure for form submissions
|
|
7
|
+
*/
|
|
8
|
+
export interface FormResponse {
|
|
9
|
+
responseId: string;
|
|
10
|
+
formId: string;
|
|
11
|
+
submittedAt: Date;
|
|
12
|
+
completed: boolean;
|
|
13
|
+
answers: FormAnswer[];
|
|
14
|
+
metadata?: {
|
|
15
|
+
browser?: string;
|
|
16
|
+
platform?: string;
|
|
17
|
+
referer?: string;
|
|
18
|
+
userAgent?: string;
|
|
19
|
+
};
|
|
20
|
+
calculatedFields?: Record<string, any>;
|
|
21
|
+
hiddenFields?: Record<string, any>;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Structure for individual form answers
|
|
25
|
+
*/
|
|
26
|
+
export interface FormAnswer {
|
|
27
|
+
fieldId: string;
|
|
28
|
+
fieldType: string;
|
|
29
|
+
question: string;
|
|
30
|
+
answer: any;
|
|
31
|
+
choices?: string[];
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Statistics structure for form responses
|
|
35
|
+
*/
|
|
36
|
+
export interface FormStatistics {
|
|
37
|
+
totalResponses: number;
|
|
38
|
+
completedResponses: number;
|
|
39
|
+
partialResponses: number;
|
|
40
|
+
completionRate: number;
|
|
41
|
+
averageCompletionTime?: number;
|
|
42
|
+
responsesByDate?: Record<string, number>;
|
|
43
|
+
topAnswers?: Record<string, Array<{
|
|
44
|
+
answer: string;
|
|
45
|
+
count: number;
|
|
46
|
+
}>> | Array<{
|
|
47
|
+
answer: string;
|
|
48
|
+
count: number;
|
|
49
|
+
}>;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Base class for all form builder-related actions.
|
|
53
|
+
* Provides common functionality and patterns for interacting with form/survey platforms.
|
|
54
|
+
*/
|
|
55
|
+
export declare abstract class BaseFormBuilderAction extends BaseAction {
|
|
56
|
+
/**
|
|
57
|
+
* The form platform this action is designed for (e.g., 'Typeform', 'Google Forms', etc.)
|
|
58
|
+
*/
|
|
59
|
+
protected abstract formPlatform: string;
|
|
60
|
+
/**
|
|
61
|
+
* The integration name to look up in the Integration entity
|
|
62
|
+
*/
|
|
63
|
+
protected abstract integrationName: string;
|
|
64
|
+
/**
|
|
65
|
+
* Cached company integration for the current execution
|
|
66
|
+
*/
|
|
67
|
+
private _companyIntegration;
|
|
68
|
+
/**
|
|
69
|
+
* Common form builder parameters that many actions will need.
|
|
70
|
+
* CompanyID is required for secure credential lookup.
|
|
71
|
+
* FormID is the platform-specific form identifier.
|
|
72
|
+
*/
|
|
73
|
+
protected getCommonFormParams(): ActionParam[];
|
|
74
|
+
/**
|
|
75
|
+
* Gets the company integration record for the specified company and form platform
|
|
76
|
+
*/
|
|
77
|
+
protected getCompanyIntegration(companyId: string, contextUser: UserInfo): Promise<CompanyIntegrationEntity>;
|
|
78
|
+
/**
|
|
79
|
+
* Gets credentials from environment variables
|
|
80
|
+
* Format: BIZAPPS_{PROVIDER}_{COMPANY_ID}_{CREDENTIAL_TYPE}
|
|
81
|
+
* Example: BIZAPPS_TYPEFORM_12345_API_TOKEN
|
|
82
|
+
*/
|
|
83
|
+
protected getCredentialFromEnv(companyId: string, credentialType: string): string | undefined;
|
|
84
|
+
/**
|
|
85
|
+
* Gets API credentials - first tries environment variables, then falls back to database
|
|
86
|
+
*/
|
|
87
|
+
protected getAPICredentials(integration: CompanyIntegrationEntity): Promise<{
|
|
88
|
+
apiToken?: string;
|
|
89
|
+
apiKey?: string;
|
|
90
|
+
accessToken?: string;
|
|
91
|
+
}>;
|
|
92
|
+
/**
|
|
93
|
+
* Helper to securely retrieve API token for a company.
|
|
94
|
+
* This method should be used by all form builder actions instead of accepting tokens as parameters.
|
|
95
|
+
*
|
|
96
|
+
* @param companyId - The MemberJunction company ID (required)
|
|
97
|
+
* @param contextUser - The user context for database queries
|
|
98
|
+
* @returns The API token for the specified company
|
|
99
|
+
* @throws Error if no credentials are found or company integration is not configured
|
|
100
|
+
*/
|
|
101
|
+
protected getSecureAPIToken(companyId: string | null | undefined, contextUser: UserInfo): Promise<string>;
|
|
102
|
+
/**
|
|
103
|
+
* Helper to get parameter value with type safety
|
|
104
|
+
*/
|
|
105
|
+
protected getParamValue(params: ActionParam[], paramName: string): any;
|
|
106
|
+
/**
|
|
107
|
+
* Standard date format for form platforms (ISO 8601)
|
|
108
|
+
*/
|
|
109
|
+
protected formatFormDate(date: Date): string;
|
|
110
|
+
/**
|
|
111
|
+
* Parse date from form platform format
|
|
112
|
+
*/
|
|
113
|
+
protected parseFormDate(dateString: string | number): Date;
|
|
114
|
+
/**
|
|
115
|
+
* Calculate completion rate percentage
|
|
116
|
+
*/
|
|
117
|
+
protected calculateCompletionRate(completed: number, total: number): number;
|
|
118
|
+
/**
|
|
119
|
+
* Format duration in seconds to human readable format
|
|
120
|
+
*/
|
|
121
|
+
protected formatDuration(seconds: number): string;
|
|
122
|
+
/**
|
|
123
|
+
* Helper to build consistent error messages for form operations
|
|
124
|
+
*/
|
|
125
|
+
protected buildFormErrorMessage(operation: string, details: string, systemError?: any): string;
|
|
126
|
+
/**
|
|
127
|
+
* Extract email addresses from response answers
|
|
128
|
+
*/
|
|
129
|
+
protected extractEmailFromResponses(responses: FormResponse[]): string[];
|
|
130
|
+
/**
|
|
131
|
+
* Group responses by date
|
|
132
|
+
*/
|
|
133
|
+
protected groupResponsesByDate(responses: FormResponse[]): Record<string, number>;
|
|
134
|
+
/**
|
|
135
|
+
* Calculate average completion time from responses
|
|
136
|
+
*/
|
|
137
|
+
protected calculateAverageCompletionTime(responses: FormResponse[]): number | undefined;
|
|
138
|
+
/**
|
|
139
|
+
* Find most common answers for choice fields
|
|
140
|
+
*/
|
|
141
|
+
protected findTopAnswers(responses: FormResponse[], fieldId: string, limit?: number): Array<{
|
|
142
|
+
answer: string;
|
|
143
|
+
count: number;
|
|
144
|
+
}>;
|
|
145
|
+
/**
|
|
146
|
+
* Convert responses to CSV format
|
|
147
|
+
*/
|
|
148
|
+
protected convertToCSV(responses: FormResponse[], includeMetadata?: boolean, delimiter?: string): {
|
|
149
|
+
csv: string;
|
|
150
|
+
headers: string[];
|
|
151
|
+
};
|
|
152
|
+
}
|
|
153
|
+
//# sourceMappingURL=base-form-builder.action.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"base-form-builder.action.d.ts","source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