SurveyMonkey trigger

This commit is contained in:
ricardo
2020-04-26 12:51:20 -05:00
parent 538ad3b98d
commit d57d457148
7 changed files with 593 additions and 4 deletions

View File

@@ -0,0 +1,35 @@
import {
ICredentialType,
NodePropertyTypes,
} from 'n8n-workflow';
export class SurveyMonkeyApi implements ICredentialType {
name = 'surveyMonkeyApi';
displayName = 'SurveyMonkey API';
properties = [
{
displayName: 'Access Token',
name: 'accessToken',
type: 'string' as NodePropertyTypes,
default: '',
description: `The access token must have the following scopes:</br>
- Create/modify webhooks</br>
- View webhooks</br>
- View surveys</br>
- View collectors</br>
- View response details`,
},
{
displayName: 'Client ID',
name: 'clientId',
type: 'string' as NodePropertyTypes,
default: '',
},
{
displayName: 'Client Secret',
name: 'clientSecret',
type: 'string' as NodePropertyTypes,
default: '',
},
];
}