How to extend a function template
Step 1 - Initial Functions setup
If you don’t have anango-integrations folder yet, follow the initial Functions setup guide first.
Otherwise, you can skip to the next step.
Step 2 - Download the function template code
Use the CLI to clone the integration template. You can clone an entire integration folder (e.g.github), subfolders with a specific type of functions (e.g. github/actions) or individual functions (e.g. github/actions/list-repos action).
The CLI will make sure to also clone all the other files that are imported in the cloned files.
index.ts file.
Step 3 - Customize the template
Edit the sync and action functions as required for your integration. You may want to reference: These two guides explain the SDK available in custom sync and action functions. They also explain how to test your functions locally and how to deploy them.If a custom sync or action function name conflicts with a function template name, the custom function will override the template in the Nango UI (once you deploy your custom integrations to Nango).