Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
小学生でもわかる SlackAPI×GAS
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
yosi
August 09, 2022
Programming
120
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
小学生でもわかる SlackAPI×GAS
yosi
August 09, 2022
More Decks by yosi
See All by yosi
自社開発のエンジニアの私が 大事にしてること(n=1)
yoshisan
1
110
なるほどGit講座 (追跡ブランチが理解できます!)
yoshisan
0
210
「自分の時間を生きる」キャリア論
yoshisan
1
120
達人プログラマーになろう!
yoshisan
0
140
認証認可
yoshisan
1
160
オブジェクト指向が"チョットワカル"スライド
yoshisan
0
140
Linuxについて"ほんのチョットワカル"スライド
yoshisan
1
130
Let's React!! "チョットワカル"の第一歩
yoshisan
1
230
ようこそ!!ココカラ勉強会へ!
yoshisan
0
160
Other Decks in Programming
See All in Programming
AI 輔助遺留系統現代化的經驗分享
jame2408
1
1.2k
Haskell/Servantを通してWebミドルウェアを捉え直す
pizzacat83
1
590
SLOをサービス品質の共通言語にするために 取り組んできたこと
wakana0222
0
510
ルールを書いて終わらせないハーネスエンジニアリング
yug1224
3
1.5k
act1-costs.pdf
sumedhbala
0
240
Apache Hive: Toward a Cloud Native Lakehouse
okumin
0
140
yield再入門 #phpcon
o0h
PRO
0
560
Honoでのサプライチェーン侵害対策 〜 3つのライブラリに学ぶ
yusukebe
7
1.9k
【SRE NEXT 2026 Lunch Session】一人目専任SREの立ち上げを加速する ― AIと進めたオンボーディングで2分を0.04秒にした話
pkshadeck
PRO
0
2.8k
Generative UI & AI-Assistants for Your Angular Solutions
manfredsteyer
PRO
1
190
霧の中の代数的エフェクト
funnyycat
1
410
5分で問診!Composer セキュリティ健康診断
codmoninc
0
360
Featured
See All Featured
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4.1k
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
360
Docker and Python
trallard
47
4k
Everyday Curiosity
cassininazir
0
260
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
VelocityConf: Rendering Performance Case Studies
addyosmani
333
25k
Darren the Foodie - Storyboard
khoart
PRO
3
3.4k
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
270
What does AI have to do with Human Rights?
axbom
PRO
1
2.3k
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
11k
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
380
Game over? The fight for quality and originality in the time of robots
wayneb77
1
220
Transcript
ʮখֶੜͰΘ͔Δʯ SlackAPI × GAS גࣜձࣾRaiseTechɹΑ͠
ࣗݾհ
ࣗݾհ Α͠(দాయ) ΤϯδχΞ ྺ 11ϲ݄ 29ࡀɹྺ1ɹ ݩখֶߍڭ་ (6ؒ) →डୗ։ൃاۀ(php)
→ΤϯδχΞϦϯάεΫʔϧRaiseTech ɹJava,React,TypeScript,GAS
ຊͷςʔϚ GAS×SlackAPI ϝϦοτ͕͍ͬͺ͍ʂ
ᶃ࣮͕͓खܰ ᶄGAS൚༻ੑͷߴ͍ݴޠ ᶅνʔϜʹߩݙ͍͢͠ ϝϦοτ
ɾΞϝϦΧͰ։ൃ͞ΕͨϏδωενϟοτπʔϧͰ͢ɻ ɾݩʑ։ൃελοϑ͕ͨͪࣾͷίϛϡχέʔγϣϯ༻ʹ࡞ͬͨ πʔϧɻ ɾࣗͰΧελϚΠζͰ͖ΔAPI͕๛ ڝ߹ MicrosoftTeams,LINE WORKS,,,etc
࠾༻اۀ αΠόʔΤʔδΣϯτ / ύφιχοΫ / ϝϧΧϦ / σΟʔɾΤψɾ Τʔ / Ϡϑʔδϟύϯ / Slack
SlackAPI×GASͰͰ͖Δ͜ͱ ɾఆ࣌ͷϝοηʔδૹ৴ ɾGoogleformͷճΛϝοηʔδʹߘ ɾ Slackͷ͋Δಈ࡞ΛτϦΨʔʹ͠ɺ ͦΕ͕ߦͳͬͨࡍͷॲཧΛ͢Δɻ → SlackAPIͷϦϑΝϨϯε͋ΔࣄͳΜͰͰ͖Δʂʂ →ࣗಈԽͰ࡞ۀ͕࣌ؒݮʂʂ
1. ࣮͕͓खܰ
࣮͢Δࡍʹग़ͯ͘Δোน ։ൃڥΛ ·ͣ͑ͯ ೖྗϑΥʔϜɺ ݟͨͷ෦ Ͳ͏͔ͬͯ͜ʔ͔ͳʁ σϓϩΠ·Ͱ͢Δʹ Πϯϑϥͷͱͪ͜ΐͬͱ ۤखͳΜͩΑͳʙ
ɾGoogle͕։ൃ,ఏڙ͍ͯ͠Δݴޠ ɾJavaScriptΛϕʔεͱͨ͠εΫϦϓτݴޠ ɾGoogleͷఏڙ͢ΔαʔϏεͱͷ࿈ܞ ɾ։ൃڥͷ४උ͍Βͳ͍ ɾτϦΨʔઃఆ,σϓϩΠ؆୯ →ͬͯΈ͍ͨʂͱࢥͬͨΒଈ࣮ݱՄೳ GAS(Google Apps
Script)
None
None
None
2. GAS൚༻ੑͷߴ͍ݴޠ
͜ΕֶͿ͖ݴޠͩʂͱ ࢥ͏ͷԿͰ͠ΐ͏͔??
None
ࠓֶͿ͖ݴޠͱͯ͠ɺ JavaScriptͱ͓͍͍ͯ͠😋 GASJSΛϕʔεʹ࡞ΒΕͯΔˣ
3.νʔϜʹߩݙ͍͢͠
νʔϜʹߩݙ͠ʹ͍͘! δϡχΞͷΈ,,,
ࣗͷͰ͖Δࣄʹϑϧίϛοτ νʔϜͷ࿈ܞؒͰɺ ฦ࿙Ε͕͋ͬͨΓɺ ͯ͠ͳ͍͔ͳ ࠓͷڥʹ͜ͷ λεΫπʔϧ ͋ͬͯΔͷͰͳ͍͔ ͜ͷఆظతͳ࡞ۀ
ࣗಈԽͰ͖ͳ͍͔ͳʁʁ
ɾAPIΛୟ͖ʹߦ͘࡞ۀ ɾOAuth,τʔΫϯ ɾJSON ɾWebhook API࿈ܞͷษڧʹͳΔ
GAS×SlackAPI ͙͢ʹ࣮Ͱ͖Δ͠ɺ ίʔσΟϯά؆୯ JSͷษڧʹͳΔɺ API࿈ܞͷ࿅शʹͳΔʂʂ
GAS×SlackAPI ϝϦοτ͕͍ͬͺ͍ʂ