Skip to content

Instantly share code, notes, and snippets.

@picsoung
Created December 7, 2021 01:48
Show Gist options
  • Save picsoung/f6c6ee56ba19ada48f3cf426b0a99048 to your computer and use it in GitHub Desktop.
Save picsoung/f6c6ee56ba19ada48f3cf426b0a99048 to your computer and use it in GitHub Desktop.
import {
IExecuteFunctions,
} from 'n8n-core';
import {
IDataObject,
INodeExecutionData,
INodeType,
INodeTypeDescription,
} from 'n8n-workflow';
import {
OptionsWithUri,
} from 'request';
export class FriendGrid implements INodeType {
description: INodeTypeDescription = {
displayName: 'VideoAsk',
name: 'videoAsk',
icon: 'file:videoAsk.png',
group: ['transform'],
version: 1,
description: 'Consume VideoAsk API',
defaults: {
name: 'VideoAsk',
color: '#1A82e2',
},
inputs: ['main'],
outputs: ['main'],
credentials: [
],
properties: [
// Node properties which the user gets displayed and
// can change on the node.
],
};
async execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]> {
return [[]];
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment