Skip to content

Commit 6b6f071

Browse files
Fix lint issues (#6)
1 parent 981cb33 commit 6b6f071

8 files changed

Lines changed: 41 additions & 60 deletions

File tree

README.md

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# n8n-nodes-feather
22

3-
This is an n8n community node. It lets you use _app/service name_ in your n8n workflows.
3+
This is an n8n community node. It lets you use Feather AI in your n8n workflows.
44

5-
_App/service name_ is _one or two sentences describing the service this node integrates with_.
5+
Feather AI is a conversational AI platform for building voice and text agents.
66

77
[n8n](https://n8n.io/) is a [fair-code licensed](https://docs.n8n.io/reference/license/) workflow automation platform.
88

@@ -44,27 +44,26 @@ n8n-node lint
4444

4545
## Operations
4646

47-
_List the operations supported by your node._
47+
* Get Workflows
48+
* Dispatch single phone call
49+
* Create Workflow Execution
50+
* Cancel Workflow Execution
4851

4952
## Credentials
5053

51-
_If users need to authenticate with the app/service, provide details here. You should include prerequisites (such as signing up with the service), available authentication methods, and how to set them up._
52-
53-
## Compatibility
54-
55-
_State the minimum n8n version, as well as which versions you test against. You can also include any known version incompatibility issues._
54+
API Key can be issued using the dashboard.
5655

5756
## Usage
5857

59-
_This is an optional section. Use it to help users with any difficult or confusing aspects of the node._
60-
61-
_By the time users are looking for community nodes, they probably already know n8n basics. But if you expect new users, you can link to the [Try it out](https://docs.n8n.io/try-it-out/) documentation to help them get started._
58+
* Workflows are time and condition bound cadences of multiple calls that operate on a schedule. You must create one on the dashboard
59+
* Each lead becomes an instance of a single workflow execution
60+
* In order to dispatch single phone calls or workflow execution, please attach a phone number in the 'Telephony' tab in the dashboard to the agent. This agent can then be attached to the workflow.
6261

6362
## Resources
6463

6564
- [n8n community nodes documentation](https://docs.n8n.io/integrations/#community-nodes)
66-
- _Link to app/service documentation._
65+
- [Feather Docs](https://docs.featherhq.com)
6766

6867
## Version history
6968

70-
_This is another optional section. If your node has multiple versions, include a short description of available versions and what changed, as well as any compatibility impact._
69+
* Version 1.0.0

nodes/Feather/Feather.node.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export class Feather implements INodeType {
2121
description: INodeTypeDescription = {
2222
displayName: 'Feather',
2323
name: 'feather',
24-
icon: 'file:feather.png',
24+
icon: 'file:feather.svg',
2525
group: ['transform'],
2626
version: 1,
2727
subtitle: '={{ $parameter["operation"] + ": " + $parameter["resource"] }}',

nodes/Feather/feather-dark.svg

Lines changed: 4 additions & 0 deletions
Loading

nodes/Feather/feather.dark.svg

Lines changed: 0 additions & 13 deletions
This file was deleted.

nodes/Feather/feather.svg

Lines changed: 3 additions & 12 deletions
Loading

nodes/Feather/operations/createWorkflowExecution.description.ts

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export const createWorkflowExecutionDescription: INodeProperties[] = [
77
type: 'string',
88
required: true,
99
default: '',
10-
placeholder: 'e.g. workflow-id-123',
10+
placeholder: 'e.g. workflow-ID-123',
1111
displayOptions: {
1212
show: {
1313
operation: ['createWorkflowExecution'],
@@ -20,7 +20,7 @@ export const createWorkflowExecutionDescription: INodeProperties[] = [
2020
name: 'customerLeadId',
2121
type: 'string',
2222
required: true,
23-
placeholder: 'e.g. lead-id-123',
23+
placeholder: 'e.g. lead-ID-123',
2424
default: '',
2525
displayOptions: {
2626
show: {
@@ -47,7 +47,7 @@ export const createWorkflowExecutionDescription: INodeProperties[] = [
4747
displayName: 'Zipcode',
4848
name: 'zipcode',
4949
type: 'string',
50-
default: null,
50+
default: '',
5151
placeholder: 'e.g. 90210',
5252
displayOptions: {
5353
show: {
@@ -60,7 +60,7 @@ export const createWorkflowExecutionDescription: INodeProperties[] = [
6060
displayName: 'State',
6161
name: 'state',
6262
type: 'string',
63-
default: null,
63+
default: '',
6464
placeholder: 'e.g. CA',
6565
displayOptions: {
6666
show: {
@@ -82,11 +82,11 @@ export const createWorkflowExecutionDescription: INodeProperties[] = [
8282
},
8383
options: [
8484
{
85-
displayName: 'Forwarding Phone Number',
86-
name: 'forwardingPhoneNumber',
87-
type: 'string',
88-
default: '',
89-
description: 'Phone number to forward calls to',
85+
displayName: 'Additional Metadata (JSON)',
86+
name: 'additionalMetadata',
87+
type: 'json',
88+
default: '{}',
89+
description: 'Additional metadata fields as JSON object',
9090
},
9191
{
9292
displayName: 'First Name',
@@ -95,6 +95,13 @@ export const createWorkflowExecutionDescription: INodeProperties[] = [
9595
default: '',
9696
description: 'First name for metadata',
9797
},
98+
{
99+
displayName: 'Forwarding Phone Number',
100+
name: 'forwardingPhoneNumber',
101+
type: 'string',
102+
default: '',
103+
description: 'Phone number to forward calls to',
104+
},
98105
{
99106
displayName: 'Last Name',
100107
name: 'lastName',
@@ -109,13 +116,6 @@ export const createWorkflowExecutionDescription: INodeProperties[] = [
109116
default: '{}',
110117
description: 'Variables for the execution as JSON object',
111118
},
112-
{
113-
displayName: 'Additional Metadata (JSON)',
114-
name: 'additionalMetadata',
115-
type: 'json',
116-
default: '{}',
117-
description: 'Additional metadata fields as JSON object',
118-
},
119119
],
120120
},
121121
];

nodes/Feather/operations/dispatchPhoneCall.description.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export const dispatchPhoneCallDescription: INodeProperties[] = [
66
name: 'agentId',
77
type: 'string',
88
required: true,
9-
placeholder: 'e.g. agent-id-123',
9+
placeholder: 'e.g. agent-ID-123',
1010
default: '',
1111
displayOptions: {
1212
show: {
@@ -19,7 +19,7 @@ export const dispatchPhoneCallDescription: INodeProperties[] = [
1919
name: 'leadId',
2020
type: 'string',
2121
required: true,
22-
placeholder: 'e.g. lead-id-123',
22+
placeholder: 'e.g. lead-ID-123',
2323
default: '',
2424
displayOptions: {
2525
show: {

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
{
22
"name": "n8n-nodes-feather",
3-
"version": "0.1.0",
3+
"version": "1.0.0",
44
"description": "n8n community node to work with the Example API",
55
"license": "MIT",
66
"homepage": "https://example.com",
77
"keywords": [
88
"n8n-community-node-package"
99
],
1010
"author": {
11-
"name": "radioactive11",
12-
"email": "roy.arijit@icloud.com"
11+
"name": "Arijit Roy",
12+
"email": "arijit@featherhq.com"
1313
},
1414
"repository": {
1515
"type": "git",

0 commit comments

Comments
 (0)