Twist node#
ใช้ Twist node เพื่อช่วยให้งานใน Twist เป็นอัตโนมัติและเชื่อมต่อกับแอปพลิเคชันต่างๆ โดย n8n รองรับฟีเจอร์ของ Twist หลากหลาย เช่น การสร้าง conversation ใน channel และการสร้างรวมถึงการลบ comment ใน thread
Credentials
ดู Twist credentials สำหรับคำแนะนำในการตั้งค่า authentication
Operations#
- Channel
- Archive a channel
- Initiates a public or private channel-based conversation
- Delete a channel
- Get information about a channel
- Get all channels
- Unarchive a channel
- Update a channel
- Comment
- Create a new comment to a thread
- Delete a comment
- Get information about a comment
- Get all comments
- Update a comment
- Message Conversation
- Create a message in a conversation
- Delete a message in a conversation
- Get a message in a conversation
- Get all messages in a conversation
- Update a message in a conversation
- Thread
- Create a new thread in a channel
- Delete a thread
- Get information about a thread
- Get all threads
- Update a thread
Templates and examples#
What to do if your operation isn't supported#
If this node doesn't support the operation you want to do, you can use the HTTP Request node to call the service's API.
You can use the credential you created for this service in the HTTP Request node:
- In the HTTP Request node, select Authentication > Predefined Credential Type.
- Select the service you want to connect to.
- Select your credential.
Refer to Custom API operations for more information.
Get the User ID#
สำหรับการดึง User ID ของผู้ใช้:
- เปิดแท็บ Team
- เลือก avatar ของผู้ใช้
- คัดลอกชุดตัวอักษรที่อยู่หลัง
/u/
ใน Twist URL ของคุณ ซึ่งชุดตัวอักษรนี้คือ User ID - ตัวอย่างเช่น ถ้า URL เป็น
https://twist.com/a/4qw45/people/u/475370
User ID จะเป็น475370