Skip to content

Todoist credentials#

คุณสามารถใช้ credentials นี้เพื่อยืนยันตัวตนกับ node ต่อไปนี้ได้:

Supported authentication methods#

  • API key
  • OAuth2

ดูข้อมูลเพิ่มเติมเกี่ยวกับบริการนี้ได้ที่ Todoist's REST API documentation

Using API key#

ในการตั้งค่า credentials นี้ คุณจะต้องมีบัญชี Todoist และ:

  • API Key

วิธีขอ API Key:

  1. ใน Todoist ให้เปิด Integration settings
  2. เลือกแท็บ Developer
  3. คัดลอก API token แล้วนำไปใส่ใน n8n credential เป็น API Key

ดูรายละเอียดเพิ่มเติมได้ที่ Find your API token

Using OAuth2#

หมายเหตุสำหรับผู้ใช้ n8n Cloud

ผู้ใช้ Cloud ไม่จำเป็นต้องให้รายละเอียดการเชื่อมต่อ เลือก Connect my account เพื่อเชื่อมต่อผ่านเบราว์เซอร์ของคุณ

ถ้าคุณ self-hosting n8n คุณจะต้องมีบัญชี Todoist และ:

  • Client ID
  • Client Secret

ขอทั้งสองอย่างนี้ได้โดยการสร้างแอปพลิเคชัน:

  1. เปิด App Management Console ของ Todoist
  2. เลือก Create a new app
  3. กรอก App name เช่น n8n integration
  4. เลือก Create app
  5. คัดลอก OAuth Redirect URL ของ n8n ไปใส่ใน Todoist เป็น OAuth redirect URL
  6. คัดลอก Client ID จาก Todoist ไปใส่ใน n8n credential
  7. คัดลอก Client Secret จาก Todoist ไปใส่ใน n8n credential
  8. ตั้งค่าแอป Todoist ที่เหลือตามที่เหมาะสมกับการใช้งานของคุณ

ดูรายละเอียดเพิ่มเติมได้ที่ Authorization Guide