Skip to content

Designing the Workflow#

ตอนนี้เรารู้แล้วว่า Nathan ต้องการ automate อะไรบ้าง ลองพิจารณาขั้นตอนที่เขาต้องทำเพื่อให้บรรลุเป้าหมาย:

  1. Get the relevant data (order id, order status, order value, employee name) from the data warehouse
  2. Filter the orders by their status (Processing or Booked)
  3. Calculate the total value of all the Booked orders
  4. Notify the team members about the Booked orders in the company's Discord channel
  5. Insert the details about the Processing orders in Airtable for follow-up
  6. Schedule this workflow to run every Monday morning

Workflow ของ Nathan เกี่ยวข้องกับการส่งข้อมูลจาก data warehouse ของบริษัทไปยังบริการภายนอกสองแห่ง:

  • Discord
  • Airtable

ก่อนหน้านั้น ข้อมูลจะต้องถูกจัดการด้วยฟังก์ชันทั่วไป (การกรองตามเงื่อนไข การคำนวณ การตั้งเวลา)

n8n มี integrations สำหรับขั้นตอนเหล่านี้ทั้งหมด ดังนั้น workflow ของ Nathan ใน n8n จะมีลักษณะดังนี้:

คุณจะสร้าง workflow นี้ในแปดขั้นตอน:

  1. Getting data from the data warehouse
  2. Inserting data into Airtable
  3. Filtering orders
  4. Setting values for processing orders
  5. Calculating booked orders
  6. Notifying the team
  7. Scheduling the workflow
  8. Activating and examining the workflow

ในการสร้าง workflow นี้ คุณจะต้องใช้ credentials ที่อยู่ในอีเมลที่คุณได้รับจาก n8n เมื่อคุณสมัครเข้าร่วมคอร์สนี้ หากคุณยังไม่ได้สมัคร คุณสามารถทำได้ ที่นี่ หากคุณไม่ได้รับอีเมลยืนยันหลังจากสมัคร โปรด ติดต่อเรา

Start building!