-
Notifications
You must be signed in to change notification settings - Fork 454
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1899 from n8n-io/ADO-1844-templates
template library semi-removal
- Loading branch information
Showing
8 changed files
with
44 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
In your environment variables, set `N8N_TEMPLATES_HOST` to the base URL of your API. | ||
|
||
Your API must provide the same endpoints and data structure as n8n's. | ||
|
||
The endpoints are: | ||
|
||
| Method | Path | | ||
| ------ | ---- | | ||
| GET | /templates/workflows/`<id>` | | ||
| GET | /templates/workflows | | ||
| GET | /templates/collections/`<id>` | | ||
| GET | /templates/collections | | ||
| GET | /templates/categories | | ||
| GET | /health | | ||
|
||
To learn about the data structure, try out n8n's API endpoints: | ||
|
||
[https://api.n8n.io/templates/categories](https://api.n8n.io/templates/categories){:target=_blank .external-link} | ||
[https://api.n8n.io/templates/collections](https://api.n8n.io/templates/collections){:target=_blank .external-link} | ||
[https://api.n8n.io/templates/workflows](https://api.n8n.io/templates/workflows){:target=_blank .external-link} | ||
[https://api.n8n.io/health](https://api.n8n.io/health){:target=_blank .external-link} | ||
|
||
You can also [contact us](mailto:[email protected]) for more support. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
In your environment variables, set `N8N_TEMPLATES_ENABLED` to false. |
File renamed without changes.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,35 +14,13 @@ n8n provides a library of workflow templates. When embedding n8n, you can: | |
|
||
## Disable workflow templates | ||
|
||
In your environment variables, set `N8N_TEMPLATES_ENABLED` to false. | ||
--8<-- "_snippets/workflows/templates/disable-templates.md" | ||
|
||
## Use your own workflow templates library | ||
|
||
In your environment variables, set `N8N_TEMPLATES_HOST` to the base URL of your API. | ||
|
||
Your API must provide the same endpoints and data structure as n8n's. | ||
|
||
The endpoints are: | ||
|
||
| Method | Path | | ||
| ------ | ---- | | ||
| GET | /templates/workflows/`<id>` | | ||
| GET | /templates/workflows | | ||
| GET | /templates/collections/`<id>` | | ||
| GET | /templates/collections | | ||
| GET | /templates/categories | | ||
| GET | /health | | ||
|
||
To learn about the data structure, try out n8n's API endpoints: | ||
|
||
[https://api.n8n.io/templates/categories](https://api.n8n.io/templates/categories){:target=_blank .external-link} | ||
[https://api.n8n.io/templates/collections](https://api.n8n.io/templates/collections){:target=_blank .external-link} | ||
[https://api.n8n.io/templates/workflows](https://api.n8n.io/templates/workflows){:target=_blank .external-link} | ||
[https://api.n8n.io/health](https://api.n8n.io/health){:target=_blank .external-link} | ||
|
||
You can also [contact us](mailto:[email protected]) for more support. | ||
--8<-- "_snippets/workflows/templates/custom-templates-library.md" | ||
|
||
## Add your workflows to the n8n library | ||
|
||
--8<-- "_snippets/workflows/submit-templates.md" | ||
--8<-- "_snippets/workflows/templates/submit-templates.md" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters