n8n-nodes-telepilot-2 0.7.4 → 0.7.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +7 -7
- package/README.md +179 -179
- package/deploy/test-n8n-imports/credentials/credential-dummy.json +20 -20
- package/deploy/test-n8n-imports/workflows/Telepilot_getMe.json +68 -68
- package/dist/credentials/TelePilotApi.credentials.d.ts +0 -0
- package/dist/credentials/TelePilotApi.credentials.js +0 -0
- package/dist/credentials/TelePilotApi.credentials.js.map +0 -0
- package/dist/nodes/TelePilot/TelePilot.node.d.ts +0 -0
- package/dist/nodes/TelePilot/TelePilot.node.js +26 -18
- package/dist/nodes/TelePilot/TelePilot.node.js.map +1 -1
- package/dist/nodes/TelePilot/TelePilot.node.json +0 -0
- package/dist/nodes/TelePilot/TelePilot.svg +15 -15
- package/dist/nodes/TelePilot/TelePilotNodeConnectionManager.d.ts +0 -0
- package/dist/nodes/TelePilot/TelePilotNodeConnectionManager.js +18 -12
- package/dist/nodes/TelePilot/TelePilotNodeConnectionManager.js.map +1 -1
- package/dist/nodes/TelePilot/TelePilotTrigger.node.d.ts +0 -0
- package/dist/nodes/TelePilot/TelePilotTrigger.node.js +3 -2
- package/dist/nodes/TelePilot/TelePilotTrigger.node.js.map +1 -1
- package/dist/nodes/TelePilot/common.descriptions.d.ts +0 -0
- package/dist/nodes/TelePilot/common.descriptions.js +0 -0
- package/dist/nodes/TelePilot/common.descriptions.js.map +0 -0
- package/dist/nodes/TelePilot/tdlib/types.d.ts +0 -0
- package/dist/nodes/TelePilot/tdlib/types.js +0 -0
- package/dist/nodes/TelePilot/tdlib/types.js.map +0 -0
- package/dist/nodes/TelePilot/tdlib/updateEvents.d.ts +0 -0
- package/dist/nodes/TelePilot/tdlib/updateEvents.js +0 -0
- package/dist/nodes/TelePilot/tdlib/updateEvents.js.map +0 -0
- package/dist/package.json +3 -3
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/index.js +0 -0
- package/package.json +66 -66
package/LICENSE.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
Copyright 2025 https://github.com/telepilotco <contact@telepilot.co>
|
|
2
|
-
|
|
3
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
4
|
-
|
|
5
|
-
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
6
|
-
|
|
7
|
-
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
1
|
+
Copyright 2025 https://github.com/telepilotco <contact@telepilot.co>
|
|
2
|
+
|
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
4
|
+
|
|
5
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
6
|
+
|
|
7
|
+
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,179 +1,179 @@
|
|
|
1
|
-
# n8n-nodes-telepilot-2
|
|
2
|
-
|
|
3
|
-
[](https://www.npmjs.com/package/n8n-nodes-telepilot-2)
|
|
4
|
-
|
|
5
|
-
## What's New in TelePilot2
|
|
6
|
-
|
|
7
|
-
### Version 0.7.2 (Latest)
|
|
8
|
-
- **Docker Support**: Use Debian-based n8n image for full compatibility
|
|
9
|
-
- **Prebuilt binaries**: Works out of the box with prebuilt-tdlib
|
|
10
|
-
- **No compilation needed**: All dependencies work without building from source
|
|
11
|
-
- **Simplified installation**: Just install and run
|
|
12
|
-
|
|
13
|
-
### Version 0.6.x Updates
|
|
14
|
-
- **Updated TDLib**: Using TDLib 1.8.14 for improved performance and compatibility
|
|
15
|
-
- **New GetAlbums Operation**: Fetch grouped albums (media groups) from Telegram chats with advanced filtering:
|
|
16
|
-
- Retrieve up to 50 albums at once
|
|
17
|
-
- Filter albums by timestamp (get albums after a specific time)
|
|
18
|
-
- Automatic handling of incomplete album fetches
|
|
19
|
-
- Complete album guarantee - no dangling posts
|
|
20
|
-
- Status tracking for fetch iterations and boundary conditions
|
|
21
|
-
|
|
22
|
-
## Beta testing
|
|
23
|
-
|
|
24
|
-
Current build does not have all Telegram actions implemented and does not work on all n8n installations.
|
|
25
|
-
|
|
26
|
-
Here is environment compatibility overview:
|
|
27
|
-
|
|
28
|
-
| OS | architecture | supported? |
|
|
29
|
-
|--------|--------------|------|
|
|
30
|
-
| docker | x64 | YES |
|
|
31
|
-
| docker | arm64 | YES |
|
|
32
|
-
| linux | x64 | YES |
|
|
33
|
-
| linux | arm64 | YES |
|
|
34
|
-
| macos | x64 | YES |
|
|
35
|
-
| macos | arm64 | YES |
|
|
36
|
-
| windows | x64 | NO |
|
|
37
|
-
| windows | arm64 | NO |
|
|
38
|
-
|
|
39
|
-
If you are interested in following our updates and news, check out:
|
|
40
|
-
|
|
41
|
-
- our telegram channel https://t.me/telepilotco OR
|
|
42
|
-
- our website https://telepilot.co
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
## Overview
|
|
46
|
-
|
|
47
|
-
`n8n-nodes-telepilot-2` is a node for the n8n automation engine that provides the ability to configure your personal Telegram assistant.
|
|
48
|
-
It works alongside your main client, allowing you to interact with Telegram servers and see all the messages you can see,
|
|
49
|
-
while also enabling your assistant to react to those messages.
|
|
50
|
-
|
|
51
|
-
With `n8n-nodes-telepilot-2`, you can enhance your Telegram user experience by automating various actions and responses.
|
|
52
|
-
Your personal Telegram CoPilot acts as real-time assistant, providing additional functionalities and making your Telegram usage more efficient.
|
|
53
|
-
|
|
54
|
-
At [TelePilot](https://telepilot.co), we prioritize your privacy. We do not have access to your Telegram messages because you have full control over your personal instance of TelePilot,
|
|
55
|
-
which runs on your self-hosted n8n instance. The choice of hosting environment is entirely up to you.
|
|
56
|
-
|
|
57
|
-
Whether you prefer the convenience of cloud hosting or the control of running it on your own machine, TelePilot allows you to make that decision.
|
|
58
|
-
|
|
59
|
-
Probably the fastest way to get everything up and running would be using Railway n8n template:
|
|
60
|
-
|
|
61
|
-
- [Railway](https://railway.app/new/template/zo8wVU)
|
|
62
|
-
|
|
63
|
-
If you are technically inclined, you can even launch it on your homelab or Raspberry Pi.
|
|
64
|
-
For a hassle-free experience, take one of these templates for self-hosting:
|
|
65
|
-
|
|
66
|
-
- [n8n on Cloudron](https://www.cloudron.io/store/io.n8n.cloudronapp.html)
|
|
67
|
-
- [YunoHost](https://yunohost.org/en/app_n8n) / [YunoHost n8n app on github](https://github.com/YunoHost-Apps/n8n_ynh)
|
|
68
|
-
- https://timeweb.cloud/ ?
|
|
69
|
-
|
|
70
|
-
## Features
|
|
71
|
-
|
|
72
|
-
### Core Capabilities
|
|
73
|
-
- Interact with other users
|
|
74
|
-
- Respond to private messages: CoPilot can respond to private messages from other users, allowing for automated answers
|
|
75
|
-
- Interact with channels and groups:
|
|
76
|
-
- Download messages and chat history
|
|
77
|
-
- **NEW: Fetch grouped albums** - Retrieve media groups with intelligent filtering
|
|
78
|
-
- Topic Notification: Stay updated on specific topics of interest by receiving notifications when they are being discussed in Telegram.
|
|
79
|
-
Configure your [personal Telegram assistant](https://telepilot.co) to monitor and alert you whenever a particular topic is mentioned.
|
|
80
|
-
- Keyword Notification: Never miss important messages by setting up keyword notifications.
|
|
81
|
-
Define specific words or phrases that you are interested in, and your Telegram assistant will notify you whenever those keywords are posted in any message.
|
|
82
|
-
Stay informed and engaged with the conversations that matter to you.
|
|
83
|
-
- Moderating groups
|
|
84
|
-
- Schedule message posting: you can schedule messages using your Telegram CoPilot
|
|
85
|
-
- Get more API events: Telepilot can receive API events that normal bots don't know about, such as when a message gets deleted through the client.
|
|
86
|
-
|
|
87
|
-
### New in TelePilot2
|
|
88
|
-
- **GetAlbums Operation**: Advanced album fetching with:
|
|
89
|
-
- Configurable album limits (1-50 albums)
|
|
90
|
-
- Timestamp-based filtering
|
|
91
|
-
- Complete album guarantee (no partial albums)
|
|
92
|
-
- Automatic handling of TDLib optimizations
|
|
93
|
-
- Detailed fetch statistics and status tracking
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
## Installation
|
|
97
|
-
|
|
98
|
-
### Install as n8n community node
|
|
99
|
-
|
|
100
|
-
To use this package in your n8n project, follow these steps:
|
|
101
|
-
|
|
102
|
-
1. Go to Settings -> Community modules of your self-hosted n8n instance
|
|
103
|
-
2. Select "Install Community node"
|
|
104
|
-
3. Specify the name `n8n-nodes-telepilot-2`, click checkbox that you understand the risks and click "Install"
|
|
105
|
-
|
|
106
|
-

|
|
107
|
-
|
|
108
|
-
### Manual installation
|
|
109
|
-
|
|
110
|
-
To get started install the package in your `~/.n8n/nodes` directory:
|
|
111
|
-
|
|
112
|
-
`npm install n8n-nodes-telepilot-2`
|
|
113
|
-
|
|
114
|
-
For Docker-based deployments, add the following line before the font installation command in your [n8n Dockerfile](https://github.com/n8n-io/n8n/blob/master/docker/images/n8n/Dockerfile):
|
|
115
|
-
|
|
116
|
-
`RUN cd ~/.n8n/ && mkdir nodes && cd nodes && npm install n8n-nodes-telepilot-2`
|
|
117
|
-
|
|
118
|
-
## TelePilot setup
|
|
119
|
-
|
|
120
|
-
### Connect TelePilot with your Telegram Account
|
|
121
|
-

|
|
122
|
-
|
|
123
|
-
- Log in to your Telegram core: https://my.telegram.org with your phone number that you wish to use TelePilot with
|
|
124
|
-
- Go to [API development tools](https://my.telegram.org/apps) and fill out the form:
|
|
125
|
-
- App title: `telepilot`
|
|
126
|
-
- Short name: `telepilot`
|
|
127
|
-
- Receive basic addresses as well as the `api_id` and `api_hash` parameters required for user authorization.
|
|
128
|
-
|
|
129
|
-
### Create Credentials in your n8n instance
|
|
130
|
-
|
|
131
|
-
Access the credentials UI by opening the left menu and selecting **Credentials**.
|
|
132
|
-
|
|
133
|
-

|
|
134
|
-
|
|
135
|
-
Click on "Add Credential" button and browse for "TelePilot2 API".
|
|
136
|
-
|
|
137
|
-
To initiate connection with Telegram servers, you need to provide following:
|
|
138
|
-
- `api_id`: copy-paste it from https://my.telegram.org/apps page
|
|
139
|
-
- `api_hash`: copy-paste it from https://my.telegram.org/apps page
|
|
140
|
-
|
|
141
|
-

|
|
142
|
-
|
|
143
|
-
After you have filled out all fields, click on "Save" and make sure that you see "Connection tested successfully" message.
|
|
144
|
-
|
|
145
|
-

|
|
146
|
-
|
|
147
|
-
## Login
|
|
148
|
-
|
|
149
|
-
Once the credentials are set up, you need to log in.
|
|
150
|
-
This is accomplished by authorizing Telepilot using your Telegram account via a QR code scan.
|
|
151
|
-
|
|
152
|
-
For more detailed information, please refer to our login guide: https://telepilot.co/login-howto
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
### Import workflows
|
|
156
|
-
|
|
157
|
-
You can import predefined workflows that we have created for you, check out [this page](https://telepilot.co/workflows)
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
## Troubleshooting
|
|
161
|
-
|
|
162
|
-
You can enable DEBUG logs by running n8n with env variables, here is how you do it in cli:
|
|
163
|
-
|
|
164
|
-
```shell
|
|
165
|
-
DEBUG=tdl,tdl:client,telepilot-cred,telepilot-node,telepilot-trigger,telepilot-cm N8N_LOG_LEVEL=debug npx n8n
|
|
166
|
-
```
|
|
167
|
-
|
|
168
|
-
For dockerized setup, make sure you add these env variables to your docker container or docker compose
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
## Usage
|
|
172
|
-
|
|
173
|
-
This package provides various nodes and actions that allow you to interact with Telegram servers and enhance the Telegram user experience.
|
|
174
|
-
Please refer to the n8n Documentation for detailed information on each node and its usage.
|
|
175
|
-
May you have any questions, reach out to per email (contact@telepilot.co) or in our [Telegram Group](https://t.me/telepilotco_group)
|
|
176
|
-
|
|
177
|
-
## License
|
|
178
|
-
|
|
179
|
-
This project is licensed under the MIT license.
|
|
1
|
+
# n8n-nodes-telepilot-2
|
|
2
|
+
|
|
3
|
+
[](https://www.npmjs.com/package/n8n-nodes-telepilot-2)
|
|
4
|
+
|
|
5
|
+
## What's New in TelePilot2
|
|
6
|
+
|
|
7
|
+
### Version 0.7.2 (Latest)
|
|
8
|
+
- **Docker Support**: Use Debian-based n8n image for full compatibility
|
|
9
|
+
- **Prebuilt binaries**: Works out of the box with prebuilt-tdlib
|
|
10
|
+
- **No compilation needed**: All dependencies work without building from source
|
|
11
|
+
- **Simplified installation**: Just install and run
|
|
12
|
+
|
|
13
|
+
### Version 0.6.x Updates
|
|
14
|
+
- **Updated TDLib**: Using TDLib 1.8.14 for improved performance and compatibility
|
|
15
|
+
- **New GetAlbums Operation**: Fetch grouped albums (media groups) from Telegram chats with advanced filtering:
|
|
16
|
+
- Retrieve up to 50 albums at once
|
|
17
|
+
- Filter albums by timestamp (get albums after a specific time)
|
|
18
|
+
- Automatic handling of incomplete album fetches
|
|
19
|
+
- Complete album guarantee - no dangling posts
|
|
20
|
+
- Status tracking for fetch iterations and boundary conditions
|
|
21
|
+
|
|
22
|
+
## Beta testing
|
|
23
|
+
|
|
24
|
+
Current build does not have all Telegram actions implemented and does not work on all n8n installations.
|
|
25
|
+
|
|
26
|
+
Here is environment compatibility overview:
|
|
27
|
+
|
|
28
|
+
| OS | architecture | supported? |
|
|
29
|
+
|--------|--------------|------|
|
|
30
|
+
| docker | x64 | YES |
|
|
31
|
+
| docker | arm64 | YES |
|
|
32
|
+
| linux | x64 | YES |
|
|
33
|
+
| linux | arm64 | YES |
|
|
34
|
+
| macos | x64 | YES |
|
|
35
|
+
| macos | arm64 | YES |
|
|
36
|
+
| windows | x64 | NO |
|
|
37
|
+
| windows | arm64 | NO |
|
|
38
|
+
|
|
39
|
+
If you are interested in following our updates and news, check out:
|
|
40
|
+
|
|
41
|
+
- our telegram channel https://t.me/telepilotco OR
|
|
42
|
+
- our website https://telepilot.co
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
## Overview
|
|
46
|
+
|
|
47
|
+
`n8n-nodes-telepilot-2` is a node for the n8n automation engine that provides the ability to configure your personal Telegram assistant.
|
|
48
|
+
It works alongside your main client, allowing you to interact with Telegram servers and see all the messages you can see,
|
|
49
|
+
while also enabling your assistant to react to those messages.
|
|
50
|
+
|
|
51
|
+
With `n8n-nodes-telepilot-2`, you can enhance your Telegram user experience by automating various actions and responses.
|
|
52
|
+
Your personal Telegram CoPilot acts as real-time assistant, providing additional functionalities and making your Telegram usage more efficient.
|
|
53
|
+
|
|
54
|
+
At [TelePilot](https://telepilot.co), we prioritize your privacy. We do not have access to your Telegram messages because you have full control over your personal instance of TelePilot,
|
|
55
|
+
which runs on your self-hosted n8n instance. The choice of hosting environment is entirely up to you.
|
|
56
|
+
|
|
57
|
+
Whether you prefer the convenience of cloud hosting or the control of running it on your own machine, TelePilot allows you to make that decision.
|
|
58
|
+
|
|
59
|
+
Probably the fastest way to get everything up and running would be using Railway n8n template:
|
|
60
|
+
|
|
61
|
+
- [Railway](https://railway.app/new/template/zo8wVU)
|
|
62
|
+
|
|
63
|
+
If you are technically inclined, you can even launch it on your homelab or Raspberry Pi.
|
|
64
|
+
For a hassle-free experience, take one of these templates for self-hosting:
|
|
65
|
+
|
|
66
|
+
- [n8n on Cloudron](https://www.cloudron.io/store/io.n8n.cloudronapp.html)
|
|
67
|
+
- [YunoHost](https://yunohost.org/en/app_n8n) / [YunoHost n8n app on github](https://github.com/YunoHost-Apps/n8n_ynh)
|
|
68
|
+
- https://timeweb.cloud/ ?
|
|
69
|
+
|
|
70
|
+
## Features
|
|
71
|
+
|
|
72
|
+
### Core Capabilities
|
|
73
|
+
- Interact with other users
|
|
74
|
+
- Respond to private messages: CoPilot can respond to private messages from other users, allowing for automated answers
|
|
75
|
+
- Interact with channels and groups:
|
|
76
|
+
- Download messages and chat history
|
|
77
|
+
- **NEW: Fetch grouped albums** - Retrieve media groups with intelligent filtering
|
|
78
|
+
- Topic Notification: Stay updated on specific topics of interest by receiving notifications when they are being discussed in Telegram.
|
|
79
|
+
Configure your [personal Telegram assistant](https://telepilot.co) to monitor and alert you whenever a particular topic is mentioned.
|
|
80
|
+
- Keyword Notification: Never miss important messages by setting up keyword notifications.
|
|
81
|
+
Define specific words or phrases that you are interested in, and your Telegram assistant will notify you whenever those keywords are posted in any message.
|
|
82
|
+
Stay informed and engaged with the conversations that matter to you.
|
|
83
|
+
- Moderating groups
|
|
84
|
+
- Schedule message posting: you can schedule messages using your Telegram CoPilot
|
|
85
|
+
- Get more API events: Telepilot can receive API events that normal bots don't know about, such as when a message gets deleted through the client.
|
|
86
|
+
|
|
87
|
+
### New in TelePilot2
|
|
88
|
+
- **GetAlbums Operation**: Advanced album fetching with:
|
|
89
|
+
- Configurable album limits (1-50 albums)
|
|
90
|
+
- Timestamp-based filtering
|
|
91
|
+
- Complete album guarantee (no partial albums)
|
|
92
|
+
- Automatic handling of TDLib optimizations
|
|
93
|
+
- Detailed fetch statistics and status tracking
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
## Installation
|
|
97
|
+
|
|
98
|
+
### Install as n8n community node
|
|
99
|
+
|
|
100
|
+
To use this package in your n8n project, follow these steps:
|
|
101
|
+
|
|
102
|
+
1. Go to Settings -> Community modules of your self-hosted n8n instance
|
|
103
|
+
2. Select "Install Community node"
|
|
104
|
+
3. Specify the name `n8n-nodes-telepilot-2`, click checkbox that you understand the risks and click "Install"
|
|
105
|
+
|
|
106
|
+

|
|
107
|
+
|
|
108
|
+
### Manual installation
|
|
109
|
+
|
|
110
|
+
To get started install the package in your `~/.n8n/nodes` directory:
|
|
111
|
+
|
|
112
|
+
`npm install n8n-nodes-telepilot-2`
|
|
113
|
+
|
|
114
|
+
For Docker-based deployments, add the following line before the font installation command in your [n8n Dockerfile](https://github.com/n8n-io/n8n/blob/master/docker/images/n8n/Dockerfile):
|
|
115
|
+
|
|
116
|
+
`RUN cd ~/.n8n/ && mkdir nodes && cd nodes && npm install n8n-nodes-telepilot-2`
|
|
117
|
+
|
|
118
|
+
## TelePilot setup
|
|
119
|
+
|
|
120
|
+
### Connect TelePilot with your Telegram Account
|
|
121
|
+

|
|
122
|
+
|
|
123
|
+
- Log in to your Telegram core: https://my.telegram.org with your phone number that you wish to use TelePilot with
|
|
124
|
+
- Go to [API development tools](https://my.telegram.org/apps) and fill out the form:
|
|
125
|
+
- App title: `telepilot`
|
|
126
|
+
- Short name: `telepilot`
|
|
127
|
+
- Receive basic addresses as well as the `api_id` and `api_hash` parameters required for user authorization.
|
|
128
|
+
|
|
129
|
+
### Create Credentials in your n8n instance
|
|
130
|
+
|
|
131
|
+
Access the credentials UI by opening the left menu and selecting **Credentials**.
|
|
132
|
+
|
|
133
|
+

|
|
134
|
+
|
|
135
|
+
Click on "Add Credential" button and browse for "TelePilot2 API".
|
|
136
|
+
|
|
137
|
+
To initiate connection with Telegram servers, you need to provide following:
|
|
138
|
+
- `api_id`: copy-paste it from https://my.telegram.org/apps page
|
|
139
|
+
- `api_hash`: copy-paste it from https://my.telegram.org/apps page
|
|
140
|
+
|
|
141
|
+

|
|
142
|
+
|
|
143
|
+
After you have filled out all fields, click on "Save" and make sure that you see "Connection tested successfully" message.
|
|
144
|
+
|
|
145
|
+

|
|
146
|
+
|
|
147
|
+
## Login
|
|
148
|
+
|
|
149
|
+
Once the credentials are set up, you need to log in.
|
|
150
|
+
This is accomplished by authorizing Telepilot using your Telegram account via a QR code scan.
|
|
151
|
+
|
|
152
|
+
For more detailed information, please refer to our login guide: https://telepilot.co/login-howto
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
### Import workflows
|
|
156
|
+
|
|
157
|
+
You can import predefined workflows that we have created for you, check out [this page](https://telepilot.co/workflows)
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
## Troubleshooting
|
|
161
|
+
|
|
162
|
+
You can enable DEBUG logs by running n8n with env variables, here is how you do it in cli:
|
|
163
|
+
|
|
164
|
+
```shell
|
|
165
|
+
DEBUG=tdl,tdl:client,telepilot-cred,telepilot-node,telepilot-trigger,telepilot-cm N8N_LOG_LEVEL=debug npx n8n
|
|
166
|
+
```
|
|
167
|
+
|
|
168
|
+
For dockerized setup, make sure you add these env variables to your docker container or docker compose
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
## Usage
|
|
172
|
+
|
|
173
|
+
This package provides various nodes and actions that allow you to interact with Telegram servers and enhance the Telegram user experience.
|
|
174
|
+
Please refer to the n8n Documentation for detailed information on each node and its usage.
|
|
175
|
+
May you have any questions, reach out to per email (contact@telepilot.co) or in our [Telegram Group](https://t.me/telepilotco_group)
|
|
176
|
+
|
|
177
|
+
## License
|
|
178
|
+
|
|
179
|
+
This project is licensed under the MIT license.
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
[
|
|
2
|
-
{
|
|
3
|
-
"createdAt": "2024-01-17T15:38:35.985Z",
|
|
4
|
-
"updatedAt": "2024-01-17T16:02:08.428Z",
|
|
5
|
-
"id": "5FLFyAUup96AgsvX",
|
|
6
|
-
"name": "Personal Telegram CoPilot Dummy account",
|
|
7
|
-
"data": "U2FsdGVkX1/hYnxfkyQ4ZXrBnzVFIlw9JMQqPuM85QLqfyesqX7Z/hzk3XwryR1h",
|
|
8
|
-
"type": "telePilotApi",
|
|
9
|
-
"nodesAccess": [
|
|
10
|
-
{
|
|
11
|
-
"nodeType": "@telepilotco/n8n-nodes-telepilot.telePilot",
|
|
12
|
-
"date": "2024-01-17T15:38:35.975Z"
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
"nodeType": "@telepilotco/n8n-nodes-telepilot.telePilotTrigger",
|
|
16
|
-
"date": "2024-01-17T15:38:35.975Z"
|
|
17
|
-
}
|
|
18
|
-
]
|
|
19
|
-
}
|
|
20
|
-
]
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"createdAt": "2024-01-17T15:38:35.985Z",
|
|
4
|
+
"updatedAt": "2024-01-17T16:02:08.428Z",
|
|
5
|
+
"id": "5FLFyAUup96AgsvX",
|
|
6
|
+
"name": "Personal Telegram CoPilot Dummy account",
|
|
7
|
+
"data": "U2FsdGVkX1/hYnxfkyQ4ZXrBnzVFIlw9JMQqPuM85QLqfyesqX7Z/hzk3XwryR1h",
|
|
8
|
+
"type": "telePilotApi",
|
|
9
|
+
"nodesAccess": [
|
|
10
|
+
{
|
|
11
|
+
"nodeType": "@telepilotco/n8n-nodes-telepilot.telePilot",
|
|
12
|
+
"date": "2024-01-17T15:38:35.975Z"
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"nodeType": "@telepilotco/n8n-nodes-telepilot.telePilotTrigger",
|
|
16
|
+
"date": "2024-01-17T15:38:35.975Z"
|
|
17
|
+
}
|
|
18
|
+
]
|
|
19
|
+
}
|
|
20
|
+
]
|
|
@@ -1,68 +1,68 @@
|
|
|
1
|
-
[
|
|
2
|
-
{
|
|
3
|
-
"name": "Telepilot getMe",
|
|
4
|
-
"nodes": [
|
|
5
|
-
{
|
|
6
|
-
"parameters": {},
|
|
7
|
-
"id": "6e65c321-a2c7-45a3-a2fd-7177535c994f",
|
|
8
|
-
"name": "When clicking \"Execute Workflow\"",
|
|
9
|
-
"type": "n8n-nodes-base.manualTrigger",
|
|
10
|
-
"typeVersion": 1,
|
|
11
|
-
"position": [
|
|
12
|
-
1200,
|
|
13
|
-
480
|
|
14
|
-
]
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
"parameters": {
|
|
18
|
-
"resource": "user"
|
|
19
|
-
},
|
|
20
|
-
"id": "de0be3ef-35c3-45af-8fc1-c97c74b1f26e",
|
|
21
|
-
"name": "Telegram CoPilot",
|
|
22
|
-
"type": "@telepilotco/n8n-nodes-telepilot.telePilot",
|
|
23
|
-
"typeVersion": 1,
|
|
24
|
-
"position": [
|
|
25
|
-
1420,
|
|
26
|
-
480
|
|
27
|
-
],
|
|
28
|
-
"credentials": {
|
|
29
|
-
"telePilotApi": {
|
|
30
|
-
"id": "5FLFyAUup96AgsvX",
|
|
31
|
-
"name": "Personal Telegram Co-Pilot account"
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
],
|
|
36
|
-
"pinData": {},
|
|
37
|
-
"connections": {
|
|
38
|
-
"When clicking \"Execute Workflow\"": {
|
|
39
|
-
"main": [
|
|
40
|
-
[
|
|
41
|
-
{
|
|
42
|
-
"node": "Telegram CoPilot",
|
|
43
|
-
"type": "main",
|
|
44
|
-
"index": 0
|
|
45
|
-
}
|
|
46
|
-
]
|
|
47
|
-
]
|
|
48
|
-
}
|
|
49
|
-
},
|
|
50
|
-
"active": false,
|
|
51
|
-
"settings": {
|
|
52
|
-
"executionOrder": "v1"
|
|
53
|
-
},
|
|
54
|
-
"versionId": "96075904-f723-44ec-8b65-534cfe8839e0",
|
|
55
|
-
"id": "r2a0u5tez9fg1WW6",
|
|
56
|
-
"meta": {
|
|
57
|
-
"instanceId": "32a20ec023f2a976b4c2e7889abb5f086bbad4d306c491eaa0e6c36e60d7c363"
|
|
58
|
-
},
|
|
59
|
-
"tags": [
|
|
60
|
-
{
|
|
61
|
-
"createdAt": "2023-12-14T14:06:36.935Z",
|
|
62
|
-
"updatedAt": "2023-12-14T14:06:36.935Z",
|
|
63
|
-
"id": "fb6fD8yKePc2f6bo",
|
|
64
|
-
"name": "telepilot.co"
|
|
65
|
-
}
|
|
66
|
-
]
|
|
67
|
-
}
|
|
68
|
-
]
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"name": "Telepilot getMe",
|
|
4
|
+
"nodes": [
|
|
5
|
+
{
|
|
6
|
+
"parameters": {},
|
|
7
|
+
"id": "6e65c321-a2c7-45a3-a2fd-7177535c994f",
|
|
8
|
+
"name": "When clicking \"Execute Workflow\"",
|
|
9
|
+
"type": "n8n-nodes-base.manualTrigger",
|
|
10
|
+
"typeVersion": 1,
|
|
11
|
+
"position": [
|
|
12
|
+
1200,
|
|
13
|
+
480
|
|
14
|
+
]
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"parameters": {
|
|
18
|
+
"resource": "user"
|
|
19
|
+
},
|
|
20
|
+
"id": "de0be3ef-35c3-45af-8fc1-c97c74b1f26e",
|
|
21
|
+
"name": "Telegram CoPilot",
|
|
22
|
+
"type": "@telepilotco/n8n-nodes-telepilot.telePilot",
|
|
23
|
+
"typeVersion": 1,
|
|
24
|
+
"position": [
|
|
25
|
+
1420,
|
|
26
|
+
480
|
|
27
|
+
],
|
|
28
|
+
"credentials": {
|
|
29
|
+
"telePilotApi": {
|
|
30
|
+
"id": "5FLFyAUup96AgsvX",
|
|
31
|
+
"name": "Personal Telegram Co-Pilot account"
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
],
|
|
36
|
+
"pinData": {},
|
|
37
|
+
"connections": {
|
|
38
|
+
"When clicking \"Execute Workflow\"": {
|
|
39
|
+
"main": [
|
|
40
|
+
[
|
|
41
|
+
{
|
|
42
|
+
"node": "Telegram CoPilot",
|
|
43
|
+
"type": "main",
|
|
44
|
+
"index": 0
|
|
45
|
+
}
|
|
46
|
+
]
|
|
47
|
+
]
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"active": false,
|
|
51
|
+
"settings": {
|
|
52
|
+
"executionOrder": "v1"
|
|
53
|
+
},
|
|
54
|
+
"versionId": "96075904-f723-44ec-8b65-534cfe8839e0",
|
|
55
|
+
"id": "r2a0u5tez9fg1WW6",
|
|
56
|
+
"meta": {
|
|
57
|
+
"instanceId": "32a20ec023f2a976b4c2e7889abb5f086bbad4d306c491eaa0e6c36e60d7c363"
|
|
58
|
+
},
|
|
59
|
+
"tags": [
|
|
60
|
+
{
|
|
61
|
+
"createdAt": "2023-12-14T14:06:36.935Z",
|
|
62
|
+
"updatedAt": "2023-12-14T14:06:36.935Z",
|
|
63
|
+
"id": "fb6fD8yKePc2f6bo",
|
|
64
|
+
"name": "telepilot.co"
|
|
65
|
+
}
|
|
66
|
+
]
|
|
67
|
+
}
|
|
68
|
+
]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|