Skip to content

Cloud Services

AWS S3, Azure Blob, Google Cloud Storage, and Google Workspace integrations.

14 modules

ModuleDescription
ลบวัตถุ S3ลบวัตถุจาก AWS S3 bucket
ดาวน์โหลด S3ดาวน์โหลดไฟล์จาก AWS S3 bucket ไปยังเส้นทางในเครื่อง
รายการวัตถุ S3แสดงรายการวัตถุใน AWS S3 bucket พร้อมตัวกรองคำนำหน้า
อัปโหลด S3อัปโหลดไฟล์จากเครื่องไปยัง AWS S3 bucket
AWS S3 Downloadดาวน์โหลดไฟล์จาก AWS S3 bucket
AWS S3 Uploadอัปโหลดไฟล์หรือข้อมูลไปยัง AWS S3 bucket
Azure Downloadดาวน์โหลดไฟล์จาก Azure Blob Storage
Azure Uploadอัปโหลดไฟล์ไปยัง Azure Blob Storage
GCS Downloadดาวน์โหลดไฟล์จาก Google Cloud Storage
GCS Uploadอัปโหลดไฟล์ไปยัง Google Cloud Storage
สร้างกิจกรรมในปฏิทินสร้างกิจกรรมใหม่ใน Google Calendar
รายการกิจกรรมปฏิทินแสดงรายการกิจกรรมที่กำลังจะมาถึงจาก Google Calendar
ค้นหา Gmailค้นหาข้อความ Gmail ด้วยไวยากรณ์การค้นหา Gmail
ส่ง Gmailส่งอีเมลผ่าน Gmail API

Modules

ลบวัตถุ S3

aws.s3.delete

ลบวัตถุจาก AWS S3 bucket

Parameters:

NameTypeRequiredDefaultDescription
bucketstringYes-S3 bucket name
keystringYes-S3 object key to delete
regionstringNous-east-1AWS region
access_key_idstringNo-AWS access key ID (falls back to env AWS_ACCESS_KEY_ID)
secret_access_keystringNo-AWS secret access key (falls back to env AWS_SECRET_ACCESS_KEY)

Output:

FieldTypeDescription
bucketstringชื่อ S3 bucket
keystringคีย์ของวัตถุที่ถูกลบ
deletedbooleanวัตถุถูกลบสำเร็จหรือไม่

Example: Delete an object

yaml
bucket: my-bucket
key: uploads/old-file.txt

ดาวน์โหลด S3

aws.s3.download

ดาวน์โหลดไฟล์จาก AWS S3 bucket ไปยังเส้นทางในเครื่อง

Parameters:

NameTypeRequiredDefaultDescription
bucketstringYes-S3 bucket name
keystringYes-S3 object key (path in bucket)
output_pathstringYes-Local file path to save the downloaded file
regionstringNous-east-1AWS region
access_key_idstringNo-AWS access key ID (falls back to env AWS_ACCESS_KEY_ID)
secret_access_keystringNo-AWS secret access key (falls back to env AWS_SECRET_ACCESS_KEY)

Output:

FieldTypeDescription
pathstringเส้นทางไฟล์ในเครื่องที่บันทึกไฟล์
sizenumberขนาดไฟล์เป็นไบต์
content_typestringประเภท MIME ของไฟล์ที่ดาวน์โหลด

Example: Download a file from S3

yaml
bucket: my-bucket
key: data/report.csv
output_path: /tmp/report.csv

รายการวัตถุ S3

aws.s3.list

แสดงรายการวัตถุใน AWS S3 bucket พร้อมตัวกรองคำนำหน้า

Parameters:

NameTypeRequiredDefaultDescription
bucketstringYes-S3 bucket name
prefixstringNo-Filter objects by key prefix (e.g. "uploads/")
max_keysnumberNo100Maximum number of objects to return
regionstringNous-east-1AWS region
access_key_idstringNo-AWS access key ID (falls back to env AWS_ACCESS_KEY_ID)
secret_access_keystringNo-AWS secret access key (falls back to env AWS_SECRET_ACCESS_KEY)

Output:

FieldTypeDescription
objectsarrayรายการวัตถุ S3
countnumberจำนวนวัตถุที่ส่งคืน
truncatedbooleanผลลัพธ์ถูกตัดทอนหรือไม่

Example: List objects with prefix

yaml
bucket: my-bucket
prefix: uploads/
max_keys: 50

อัปโหลด S3

aws.s3.upload

อัปโหลดไฟล์จากเครื่องไปยัง AWS S3 bucket

Parameters:

NameTypeRequiredDefaultDescription
bucketstringYes-S3 bucket name
keystringYes-S3 object key (path in bucket)
file_pathstringYes-Local file path to upload
regionstringNous-east-1AWS region
access_key_idstringNo-AWS access key ID (falls back to env AWS_ACCESS_KEY_ID)
secret_access_keystringNo-AWS secret access key (falls back to env AWS_SECRET_ACCESS_KEY)
content_typestringNo-MIME type of the file (auto-detected if not set)

Output:

FieldTypeDescription
bucketstringชื่อ S3 bucket
keystringคีย์ของวัตถุ S3
urlstringURL สาธารณะของวัตถุที่อัปโหลด
sizenumberขนาดไฟล์เป็นไบต์

Example: Upload a local file

yaml
bucket: my-bucket
key: data/report.csv
file_path: /tmp/report.csv

AWS S3 Download

cloud.aws_s3.download

ดาวน์โหลดไฟล์จาก AWS S3 bucket

Parameters:

NameTypeRequiredDefaultDescription
aws_access_key_idstringNo-AWS access key ID (ค่าเริ่มต้น env.AWS_ACCESS_KEY_ID)
aws_secret_access_keystringNo-AWS secret access key (ค่าเริ่มต้น env.AWS_SECRET_ACCESS_KEY)
regionstringNous-east-1AWS region (ค่าเริ่มต้น env.AWS_REGION หรือ us-east-1)
bucketstringYes-ชื่อ S3 bucket
keystringYes-ชื่อ S3 bucket
file_pathstringNo-S3 object key (เส้นทางไฟล์ใน bucket)

Output:

FieldTypeDescription
contentstringFile content (if file_path not provided)
file_pathstringPath where file was saved (if file_path provided)
sizenumberFile size in bytes
content_typestringMIME type of the file

Example: Download to memory

yaml
bucket: my-bucket
key: data/config.json

Example: Download to file

yaml
bucket: my-bucket
key: backups/database.sql
file_path: /tmp/downloaded.sql

AWS S3 Upload

cloud.aws_s3.upload

อัปโหลดไฟล์หรือข้อมูลไปยัง AWS S3 bucket

Parameters:

NameTypeRequiredDefaultDescription
aws_access_key_idstringNo-AWS access key ID (ค่าเริ่มต้น env.AWS_ACCESS_KEY_ID)
aws_secret_access_keystringNo-AWS secret access key (ค่าเริ่มต้น env.AWS_SECRET_ACCESS_KEY)
regionstringNous-east-1AWS region (ค่าเริ่มต้น env.AWS_REGION หรือ us-east-1)
bucketstringYes-ชื่อ S3 bucket
keystringYes-ชื่อ S3 bucket
file_pathstringNo-S3 object key (เส้นทางไฟล์ใน bucket)
contentstringNo-เส้นทางไฟล์ในเครื่องที่จะอัปโหลด
content_typestringNo-MIME type ของไฟล์
aclstringNoprivateMIME type ของไฟล์

Output:

FieldTypeDescription
urlstringS3 URL ของออบเจ็กต์ที่อัปโหลด
bucketstringS3 URL ของออบเจ็กต์ที่อัปโหลด
keystringS3 URL ของออบเจ็กต์ที่อัปโหลด
etagstringชื่อ Bucket

Example: Upload text content

yaml
bucket: my-bucket
key: reports/daily-${timestamp}.txt
content: ${report_text}
content_type: text/plain

Example: Upload local file

yaml
bucket: my-bucket
key: backups/database.sql
file_path: /tmp/backup.sql
acl: private

Azure Download

cloud.azure.download

ดาวน์โหลดไฟล์จาก Azure Blob Storage

Parameters:

NameTypeRequiredDefaultDescription
connection_stringstringNo-Azure Storage connection string (ใช้ตัวแปรสภาพแวดล้อม AZURE_STORAGE_CONNECTION_STRING)
containerstringYes-Azure Storage connection string (ใช้ตัวแปรสภาพแวดล้อม AZURE_STORAGE_CONNECTION_STRING)
blob_namestringYes-ชื่อ Azure container
destination_pathstringYes-Blob ที่จะดาวน์โหลด

Output:

FieldTypeDescription
file_pathstringThe file path
sizenumberSize in bytes
containerstringThe container
blob_namestringThe blob name

Example: Download backup

yaml
container: backups
blob_name: data/backup-2024.zip
destination_path: /tmp/backup.zip

Example: Download image

yaml
container: images
blob_name: photos/vacation.jpg
destination_path: /tmp/photo.jpg

Azure Upload

cloud.azure.upload

อัปโหลดไฟล์ไปยัง Azure Blob Storage

Parameters:

NameTypeRequiredDefaultDescription
file_pathstringYes-เส้นทางไฟล์ในเครื่องที่จะอัปโหลด
connection_stringstringNo-เส้นทางไฟล์ในเครื่องที่จะอัปโหลด
containerstringYes-Azure Storage connection string (ใช้ตัวแปรสภาพแวดล้อม AZURE_STORAGE_CONNECTION_STRING)
blob_namestringNo-ชื่อ Azure container
content_typestringNo-ชื่อ blob ที่อัปโหลด (ค่าเริ่มต้น: ชื่อไฟล์)

Output:

FieldTypeDescription
urlstringMIME type (ไม่บังคับ)
containerstringMIME type (ไม่บังคับ)
blob_namestringที่อยู่ URL
sizenumberContainer

Example: Upload image

yaml
file_path: /tmp/screenshot.png
container: images
blob_name: screenshots/2024/screenshot.png
content_type: image/png

Example: Upload document

yaml
file_path: /tmp/report.pdf
container: documents
blob_name: reports/monthly.pdf

GCS Download

cloud.gcs.download

ดาวน์โหลดไฟล์จาก Google Cloud Storage

Parameters:

NameTypeRequiredDefaultDescription
bucketstringYes-ชื่อ GCS bucket
object_namestringYes-ชื่อ GCS bucket
destination_pathstringYes-ออบเจ็กต์ที่จะดาวน์โหลด

Output:

FieldTypeDescription
file_pathstringThe file path
sizenumberSize in bytes
bucketstringStorage bucket name
object_namestringObject name in storage

Example: Download backup

yaml
bucket: my-backups
object_name: data/backup-2024.zip
destination_path: /tmp/backup.zip

Example: Download image

yaml
bucket: image-storage
object_name: photos/vacation.jpg
destination_path: /tmp/photo.jpg

GCS Upload

cloud.gcs.upload

อัปโหลดไฟล์ไปยัง Google Cloud Storage

Parameters:

NameTypeRequiredDefaultDescription
file_pathstringYes-เส้นทางไฟล์ในเครื่องที่จะอัปโหลด
bucketstringYes-เส้นทางไฟล์ในเครื่องที่จะอัปโหลด
object_namestringNo-ชื่อ GCS bucket
content_typestringNo-ชื่อออบเจ็กต์ที่อัปโหลด (ค่าเริ่มต้น: ชื่อไฟล์)
publicbooleanNoFalseMIME type (ไม่บังคับ)

Output:

FieldTypeDescription
urlstringทำให้ไฟล์เข้าถึงได้สาธารณะ
bucketstringทำให้ไฟล์เข้าถึงได้สาธารณะ
object_namestringที่อยู่ URL
sizenumberชื่อ Bucket ที่เก็บ
public_urlstringชื่อออบเจ็กต์ในที่เก็บ

Example: Upload image

yaml
file_path: /tmp/screenshot.png
bucket: my-bucket
object_name: screenshots/2024/screenshot.png
content_type: image/png
public: true

Example: Upload CSV data

yaml
file_path: /tmp/report.csv
bucket: data-backup
object_name: reports/daily.csv

สร้างกิจกรรมในปฏิทิน

google.calendar.create_event

สร้างกิจกรรมใหม่ใน Google Calendar

Parameters:

NameTypeRequiredDefaultDescription
access_tokenstringYes-Google OAuth2 access token with Calendar write scope
summarystringYes-Title of the calendar event
start_timestringYes-Event start time in ISO 8601 format
end_timestringYes-Event end time in ISO 8601 format
descriptionstringNo-Detailed description of the event
locationstringNo-Event location or meeting link
attendeesstringNo-Comma-separated list of attendee email addresses
timezonestringNoUTCTimezone for the event (IANA timezone)

Output:

FieldTypeDescription
event_idstringรหัสกิจกรรมที่สร้าง
summarystringชื่อกิจกรรม
startstringเวลาเริ่มกิจกรรม
endstringเวลาสิ้นสุดกิจกรรม
html_linkstringลิงก์เพื่อดูกิจกรรมใน Google Calendar

Example: Create a meeting event

yaml
access_token: <oauth2-token>
summary: Sprint Planning
start_time: 2026-03-01T10:00:00
end_time: 2026-03-01T11:00:00
attendees: alice@example.com, bob@example.com
timezone: America/New_York

รายการกิจกรรมปฏิทิน

google.calendar.list_events

แสดงรายการกิจกรรมที่กำลังจะมาถึงจาก Google Calendar

Parameters:

NameTypeRequiredDefaultDescription
access_tokenstringYes-Google OAuth2 access token with Calendar read scope
max_resultsnumberNo10Maximum number of events to return
time_minstringNo-Only return events starting after this time (ISO 8601). Defaults to now.
time_maxstringNo-Only return events starting before this time (ISO 8601)

Output:

FieldTypeDescription
eventsarrayรายการกิจกรรมในปฏิทิน
countnumberจำนวนกิจกรรมที่ส่งคืน

Example: List next 5 events

yaml
access_token: <oauth2-token>
max_results: 5

ค้นหา Gmail

google.gmail.search

ค้นหาข้อความ Gmail ด้วยไวยากรณ์การค้นหา Gmail

Parameters:

NameTypeRequiredDefaultDescription
access_tokenstringYes-Google OAuth2 access token with Gmail read scope
querystringYes-Gmail search query (e.g. "from:user@example.com subject:invoice")
max_resultsnumberNo10Maximum number of messages to return

Output:

FieldTypeDescription
messagesarrayรายการข้อความที่ตรงกัน
totalnumberจำนวนข้อความทั้งหมดที่ส่งคืน

Example: Search for emails from a specific sender

yaml
access_token: <oauth2-token>
query: from:boss@company.com is:unread
max_results: 5

ส่ง Gmail

google.gmail.send

ส่งอีเมลผ่าน Gmail API

Parameters:

NameTypeRequiredDefaultDescription
access_tokenstringYes-Google OAuth2 access token with Gmail send scope
tostringYes-Recipient email address
subjectstringYes-Email subject line
bodystringYes-Email body content
htmlbooleanNoFalseWhether the body is HTML content
ccstringNo-CC email address(es), comma-separated
bccstringNo-BCC email address(es), comma-separated

Output:

FieldTypeDescription
message_idstringรหัสข้อความ Gmail
thread_idstringรหัสเธรด Gmail
tostringที่อยู่อีเมลผู้รับ

Example: Send a plain text email

yaml
access_token: <oauth2-token>
to: user@example.com
subject: Test Email
body: Hello, this is a test email.

Released under the Apache 2.0 License.