Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(Gong Node): New node #10777

Merged
merged 25 commits into from
Oct 16, 2024
Merged

Conversation

feelgood-interface
Copy link
Contributor

@feelgood-interface feelgood-interface commented Sep 11, 2024

Summary

Add new Gong node.

Related Linear tickets, Github issues, and Community forum posts

https://linear.app/n8n/issue/NODE-1795/gong-node
Gong API Documentation

@n8n-assistant n8n-assistant bot added community Authored by a community member node/new Creation of an entirely new node in linear Issue or PR has been created in Linear for internal review labels Sep 11, 2024
@Joffcom
Copy link
Member

Joffcom commented Sep 11, 2024

Hey @feelgood-interface,

Thanks for the PR, We have created "GHC-224" as the internal reference to get this reviewed.

One of us will be in touch if there are any changes needed, in most cases this is normally within a couple of weeks but it depends on the current workload of the team.

packages/nodes-base/nodes/Gong/Gong.node.json Outdated Show resolved Hide resolved
packages/nodes-base/nodes/Gong/Gong.node.json Outdated Show resolved Hide resolved
packages/nodes-base/credentials/GongApi.credentials.ts Outdated Show resolved Hide resolved
packages/nodes-base/credentials/GongApi.credentials.ts Outdated Show resolved Hide resolved
packages/nodes-base/nodes/Gong/GenericFunctions.ts Outdated Show resolved Hide resolved
packages/nodes-base/nodes/Gong/test/Gong.node.test.ts Outdated Show resolved Hide resolved
packages/nodes-base/nodes/Gong/GenericFunctions.ts Outdated Show resolved Hide resolved
Comment on lines 39 to 52
async function (
this: IExecuteSingleFunctions,
data: INodeExecutionData[],
response: IN8nHttpFullResponse,
): Promise<INodeExecutionData[]> {
if (response.statusCode === 404) {
throw new NodeApiError(this.getNode(), response as unknown as JsonObject, {
message: "The required user doesn't match any existing one",
description:
"Double-check the value in the parameter 'User to Get' and try again",
});
}
return await sendErrorPostReceive.call(this, data, response);
},
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

probably better to extract to a GenericFunctions, and in other places too

Copy link
Contributor

@ShireenMissi ShireenMissi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @feelgood-interface for the PR, tested manually and it works 🎉
left a few comments, nothing major just some refactoring and minor corrections

Copy link
Contributor

@michael-radency michael-radency left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@ShireenMissi ShireenMissi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🎉

@ShireenMissi ShireenMissi merged commit 785b47f into n8n-io:master Oct 16, 2024
24 checks passed
@github-actions github-actions bot mentioned this pull request Oct 16, 2024
@janober
Copy link
Member

janober commented Oct 16, 2024

Got released with [email protected]

@feelgood-interface feelgood-interface deleted the gong-node branch October 24, 2024 13:44
@Juneezee Juneezee mentioned this pull request Oct 27, 2024
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community Authored by a community member in linear Issue or PR has been created in Linear for internal review node/new Creation of an entirely new node Released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants