Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
ピースオブケイクでのZapier活用術
Search
operandoOS
June 12, 2019
Technology
1.4k
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
ピースオブケイクでのZapier活用術
ピースオブケイクでのZapier活用術
note engineer meetup #3
https://pieceofcake.connpass.com/event/128607/
operandoOS
June 12, 2019
Transcript
65 slides
ϐʔεΦϒέΠΫͰͷ Zapier׆༻ज़ note engineer meetup #3
About Me • Shinobu Okano • piece of cake, inc.
• 2018 / 07 Join • Mobile Engineer ? • @operandoOS • note : operando_os
Zapier https://zapier.com/
Zapier • Connect Your Apps and Automate Workflows • ෳͷαʔϏεΛ࿈ܞͤͯ͞ϫʔΫϑϩʔΛ
࡞Γɺ࡞ۀΛࣗಈԽ͢Δπʔϧ • IFTTTʹࣅͨαʔϏε
Zapierͷ͍͍ͱ͜Ζ • ϘλϯΛԡͨ͠Γ͢Δ͚ͩͰϫʔΫϑϩʔ ࡞Ͱ͖Δ • ϓϩάϥϜΛॻ͔ͳͯ͘࡞ۀͷࣗಈԽ͕ Ͱ͖Δʂ͍͢͝ʂ • ࡞ͬͨϫʔΫϑϩʔ͕ͪΌΜͱಈ͍ͯΔײ
ͳͥZapierΛಋೖ͔ͨ͠ • ࡞ۀΛࣗಈԽͯ͠ɺͬͱେࣄͳ͜ͱʹ࣌ؒΛ ͑ΔΑ͏ʹ • ͋ͳͨͷ࣌ؒͱͯوॏͰ͢ • ͔ͩΒɺࣗಈԽ͠·͠ΐ͏ʂ
ͬͱେࣄͳ͜ͱʹ࣌ؒΛ͑ ΔΑ͏ʹ • Zapierͷϖʔδʹࣅͨ͜ͱ͕ॻ͍ͯ͋Δ “Easy automation for busy people. Zapier
moves info between your web apps automatically, so you can focus on your most important work.”
ͳͥZapierΛಋೖ͔ͨ͠ • ϓϩάϥϜ͕ॻ͚ͳ͍ਓʹࣗಈԽ͢Δָ͠͞Λ ମײͯ͠΄͍͠ʂࣗಈԽָ͍͠ʂ • ձࣾతʹ܁Γฦ͠ͷ࡞ۀࣗಈԽɾΈԽ͢Δ ͷʂͱ͍͏ҙࣝΛ͚͍ͭͨ • ࣗಈԽͰ͖ΔਓΛ૿͍ͨ͠
AutomationɾKarakuri by mercari • Automation • ػցʹͰ͖Δ͜ͱશͯػցʹΒͤΔ͜ͱͰ ࡞ۀΛࣗಈԽ • Karakuri
• ਓతΤϥʔ͕ൃੜ͠ͳ͍ΧϥΫϦ(Έ)Λ࡞Δ
࣮ࡍʹZapierͰϫʔΫϑϩʔΛ ࡞ͬͯΈ·͠ΐ͏
ࠓճσϞͰ࡞ΔϫʔΫϑϩʔ • GoogleΧϨϯμʔʹ৽͍͠༧ఆ͕࡞͞ΕͨΒ Slackbot͔Βʮ༧ఆ͕࡞͞Ε·ͨ͠Αʔʯͬͯ μΠϨΫτϝοηʔδ͕དྷΔ • Slackbot͔ΒདྷΔμΠϨΫτϝοηʔδʹ ༧ఆͷαϚϦʔΛهࡌ͢Δ
ZapͬͯͳΜͰ͔͢ • 1ͭͷϫʔΫϑϩʔΛද͢୯Ґ • ZapʹTriggerͱAction͕ඞͣ͋Γ·͢
TriggerͬͯͳΜͰ͔͢ • ZapʢϫʔΫϑϩʔʣΛ։࢝͢ΔͨΊͷҾ͖ۚ • ઌఔ࡞ͬͨϫʔΫϑϩʔͩͱʮGoogleΧϨϯ μʔʹ৽͍͠༧ఆ͕࡞͞ΕͨΒʯ͕Trigger ʹͳΓ·͢
ActionͬͯͳΜͰ͔͢ • TriggerΛݩʹ࣮ߦ͍ͨ͠׆ಈ • ઌఔ࡞ͬͨϫʔΫϑϩʔͩͱʮSlackbot͔Β ʮ༧ఆ͕࡞͞Ε·ͨ͠ΑʔʯͬͯμΠϨΫ τϝοηʔδ͕དྷΔʯ͕ActionʹͳΓ·͢
TaskͬͯͳΜͰ͔͢ • ࣮ߦ͞ΕͨActionΛද͢୯Ґ • Zapierͷϓϥϯ͝ͱʹɺTaskʹ࣮ߦ্ݶ͕ ͋Γ·͢
ZapͬͯͳΜͰ͔͢ • 1ͭͷϫʔΫϑϩʔΛද͢୯Ґ • ZapʹTriggerͱAction͕ඞͣ͋Γ·͢ • Zap1ͭͷTrigger͔࣋ͯ͠ͳ͍ • ZapෳͷActionΛ࣋ͭ͜ͱ͕Ͱ͖Δ
Zapierͷ༻ޠ·ͱΊ https://zapier.com/help/terminology/
Zapier Pricing https://zapier.com/pricing
Zapier Pricing
Zapier Teams • ϐʔεΦϒέΠΫTeamsϓϥϯ • ຖ݄ 312.50υϧ • ར༻ऀɾZapʹԠͨ͡Ճ՝ۚͳ͠ •
Taskͷ্ݶ͋Γʢ݄ 50,000 taskʣ
Ͳ͏ͬͯಋೖ͔ͨ͠ • લ৬Ͱಋೖ͞Ε͍ͯͨͷΛࢥ͍ग़͢ • ͿͬͪΌ͚ લ৬Ͱࣗ Zapierͬͯͳ͔ͬ ͨʢ͑... • ;ʔΜఔʹ͔͠ࢥͬͯͳͯͬͯ͘ͳ͔ͬ
ͨ
Ͳ͏ͬͯಋೖ͔ͨ͠ • ϐࣾʹ͖ͯɺࡉ͔͍࡞ۀΛࣗಈԽ͍ͨ͜͠ͱ ͕ΊͬͪΌग़͖ͯͨ • पΓΛݟΔͱࣗಈԽͰ͖ͦ͏͚ͩͲɺख࡞ۀ ͰؤுͬͯΔ࡞ۀ͕ͦͦ͋͜͜Δ • ΈΜͳͷ࣌ؒΛͬͱ࠷ߴͷ͜ͱʹͬͯ΄ ͍͠ʂؾ͔࣋ͪ͠ժੜ͑ͯ͜ͳ͍
Ͳ͏ͬͯಋೖ͔ͨ͠ • ·ͣݸਓͰͬͯΈΔ • Γ͍ͨ͜ͱ͕࣮ݱͰ͖Δ͔ͲΜͳײ͡ͳͷ͔Λ Ѳ • ʮ͜Ε͍͚ΔʂʯͱࢥͬͨͷͰɺCTOͱCFOʹ૬ஊ • ຖ݄͓͕͍ۚ͘Β͔͔Γͦ͏ͱ͔
• OKΒͬͨͷͰશࣾಋೖ
Zapierಋೖޙ • ·ͣશһZapierʹট • શࣾఆྫͰZapierʹ͍ͭͯͬ͘͟Γઆ໌ + σϞ
Zapierಋೖޙ • ࠷ॳͷऔֻ͔ͬΓΛखॿ͚͢ΔϫʔΫγϣο ϓͷ։࠵ • SlackͷࣗಈԽνϟϯωϧͰ૬ஊʹͷΔ • ZapierͰࣗͰ৭ʑ࡞ͬͯɺશମʹڞ༗͢Δ • ZapierͰ࡞ͬͨΑʂͬͯݴ͏
ZapierͷটΛࣗಈԽ͢Δ • ট͢Δ࡞ۀ͕໘ʹͳͬͨͷͰZapierͰࣗಈԽ ͯ͠ɺSlack͔ΒটͰ͖ΔΑ͏ʹͨ͠ • SlackͷSlash CommandͰZapierͷϝϯόʔট ͕Ͱ͖ΔZapΛΜͰΈͨ • https://note.mu/operando_os/n/
n71c9281eea5e
ϐʔεΦϒέΠΫͰ࣮ࡍʹӡ ༻͞Ε͍ͯΔZapհ
ݸਓ༻Zap հ
ݸਓZap • GoogleΧϨϯμʔʹ৽͍͠༧ఆ͕࡞͞ΕͨΒ Slackbot͔Βʮ༧ఆ͕࡞͞Ε·ͨ͠ΑʔʯͬͯμΠϨΫτ ϝοηʔδ͕དྷΔ • ϓϨϛΞϜϑϥΠσʔʹSlack statusΛ:premiumfriday: ʹ͢Δ •
SlackͰࣗಈԽҒେʂ(auto_idai)ϦΞΫγϣϯ͕ ͚ͭΒΕͨൃݴΛूΊΔ
ݸਓZap • GitHubͷPRͷreviewʹΞαΠϯ͞ΕͨΒ TodoistʹλεΫొ͢Δ • GoogleΧϨϯμʔʹग़੮ऀͱͯ͠ొ͞Εͨ ΒTodoistʹλεΫొ͢Δ
νʔϜ༻Zap հ
KaizenఆྫٞࣄDocsͷ ࡞ࣗಈԽ
Nuxt.jsͷReleaseΛSlackʹ௨͢Δ
cakesͷײπΠʔτΛSlackʹ ௨͢Δ
োରԠνϟϯωϧͰͷ εϨουॻ͖ࠐΈܯࠂbot͞Μ
νʔϜZap • note proͷ͍߹ΘͤདྷͨΒSlackʹ௨͢Δ • ௨͕͘Δ͜ͱͰɺ୲ऀ͚ͩ͡Όͳ͘ पΓͷਓςϯγϣϯ্͛ΒΕͯΔؾ͕ͯ͠ɺ Ұମײ͕ग़ͨʂ • GoogleϑΥʔϜʹೖྗ͕͋ͬͨΒ
GmailͰςϯϓϨΛࣗಈฦ৴͢Δ
શࣾ༻Zap հ
ձۭ͚ٞࣨΑ͏Ͷʙbot͞Μ
ձۭ͚ٞࣨΑ͏Ͷʙbot͞Μ
ձۭ͚ٞࣨΑ͏Ͷʙbot͞Μ • ͨͬͨ͜Ε͚ͩͰ࡞Ε·͢ʂ
Slackʹ৽͍͠νϟϯωϧ͕Ͱ ͖ͨΒڭ͑ͯ͘ΕΔͭ
Slackʹ৽͍͠Emoji͕ Ճ͞ΕͨΒڭ͑ͯ͘ΕΔͭ
Slack͔ΒGoogleΧϨϯμʔʹ ٳΈͷ༧ఆΛೖΕΔͭ
• SlackͷslashίϚϯυͰ ʮ/ٳΉ ʯΛ ೖΕΔ Slack͔ΒGoogleΧϨϯμʔʹ ٳΈͷ༧ఆΛೖΕΔͭ
• ۈଵ࿈བྷνϟϯωϧʹٳΉ͜ͱ͕ ௨͞ΕΔ Slack͔ΒGoogleΧϨϯμʔʹ ٳΈͷ༧ఆΛೖΕΔͭ
• GoogleΧϨϯμʔʹٳΈͷ༧ఆ͕ ࡞͞ΕΔ Slack͔ΒGoogleΧϨϯμʔʹ ٳΈͷ༧ఆΛೖΕΔͭ
ZapierΛܧଓͤ͞Δൿ݃ • Zap(࡞ۀͷࣗಈԽ)Λ࡞ͬͨਓΛ΄ΊΔʂ • ࡞ͬͨࣗಈԽͷϑϩʔΛڞ༗͠Α͏ʂ • ͦΕʹΠϯεϐϨʔγϣϯΛड͚ͯ ͞ΒʹૉΒ͍ࣗ͠ಈԽ͕ੜ·ΕΔ • Θ͔Βͳ͚ΕΘ͔Γͦ͏ͳਓʹ૬ஊ͠Α͏ʂ
ZapierΛܧଓͤ͞Δൿ݃ • ʮͦΕɺZapierͰࣗಈԽͰ͖ͦ͏͡ΌͶʁʯͷֻ͚ • ݸਓϨϕϧͷࣗಈԽ͕Ͱ͖ͨΒɺνʔϜશࣾͷۀ ΛޮԽ͢ΔΑ͏ͳࣗಈԽͷΈ࡞ΓʹνϟϨϯδ ͯ͠ΈΔ • νʔϜ৫ϨϕϧͰࣗಈԽʹ͖߹͍ͬͯ͜͏ʂ
ϐʔεΦϒέΠΫͷZapier ར༻ঢ়گ • 5݄10͔Β6݄10·Ͱͷtask࣮ߦ • 29501 Tasks • ݁ߏߥͿ݄ͬͨͩͬͨ͆ •
ಈ͍ͯΔZap • 130 Zap • ୭͕ͲΕ͘Β͍ࣗಈԽͯ͠Δ͔Θ͔Δ
՝ • ܧଓతʹͬͯΒ͏ɾจԽͱ͔ͯࠜͤ͠Δͱ͜Ζ • SlackͷAPI limitʹҾ͔͔ͬͬͨͱ͔ • ZapͷΈํ͕ඞཁ • TriggerͷʹΑͬͯ࠷େ5Ԇ͢ΔͷͰҙ
Zapierཧऀͱͯ͠ • Zapier Manager Trigger׆༻͢ΔͱΑ͍ • ૬ஊɾαϙʔτ͢Δͷ݁ߏ࣌ؒ͏ • TaskΊͬͪΌফඅ͠·͘ΔZap͕ͳ͍͔ νΣοΫ͕ඞཁ
Zapier૬ஊ͏͚ͨ·ΘΓ·͢ • ձࣾͰͷZapierಋೖ • Zapierͷӡ༻૬ஊ • ZapierͰ࣮ݱ͍ͨ͠ϫʔΫϑϩʔͷ૬ஊ • ͳͲͳͲ...
Zapier૬ஊ͏͚ͨ·ΘΓ·͢ • ઌि Kyash͞Μͷ͜ʹ;͊ʔ͞Μ͔Β૬ஊΛ ͍͖ͨͩɺʮSlack͔ΒGoogleΧϨϯμʔʹ ٳΈͷ༧ఆΛೖΕΔͭʯͱ͔ͷϨΫνϟʔ ͱ͔͍͖ͤͯͨͩ͞·ͨ͠ʂ
Zapier૬ஊ͏͚ͨ·ΘΓ·͢ • ࠙ձͰ͔͚͍ͯͩ͘͠͞ʂ • ·ͨɺTwitter @operandoOS ·Ͱ ͝࿈བྷ͍ͩ͘͞ʂ • ΑΖ͓͘͠ئ͍͠·͢ʂ
Zapier meetupΓ·͢ʂ • 7݄͘Β͍ʹ…ʂ • ࠓmeetupͷืूϖʔδ࡞Γ͔͚ͨͬͨͲ…
͓·͚
ࢿྉZapierͰ࡞ͬͯ·͔͢ʁ
ࢿྉZapierͰ࡞ͬͯ·͔͢ʁ
ϓϩάϥϜॻ͚·͢ʂ • nodeͱPython͕࣮͑·͢ʂ • ຐվ͍ͨ͠์ • ͚ͲɺΘͳͯ͘ΊͬͪΌ৭ʑͰ͖Δ
࠷ॳͷTriggertaksͱͯ͠ Χϯτ͞Εͳ͍ʁ • τϦΨʔ͞Εͳͯ͘ɺ్தͷActionFilte Χϯτ͞ΕΔ • Filter௨ա͢ΔͱΧϯτ͞ΕΔ͔ͳ • ௨ա͠ͳ͚ΕΧϯτ͞Εͳ͍ •
https://zapier.com/help/tasks/
Zapierʹ͍ͭͯॻ͔Εͨnoteͷ هࣄΛ·ͱΊͯ·͢ • ZapierϚΨδϯ • https://note.mu/operando_os/m/ me6ba17cfc6e0
ࢀߟࢿྉ ʮϝϧΧϦ ZapierʯͰݕࡧݕࡧʂʂ
ࢀߟࢿྉ • ࣾͷ໘ͳख࡞ۀZapierʹΒͤΑ͏ʔʔϊϯϓϩάϥϚʔͰۀࣗ ಈԽ͕Ͱ͖ΔπʔϧΛಋೖͯ͠Έͯ • https://tech.mercari.com/entry/2017/12/22/110934 • ʮϊϯϓϩάϥϚʔͰɺࣗಈԽͰ͖ΔʯZapier Automation Meetup
Tokyo #0 Λ։࠵͠·ͨ͠ • https://tech.mercari.com/entry/2018/07/13/150000 • ZapierͷTeamsϓϥϯΛձࣾͰܖͯͬͯ͠Έͨ • https://qiita.com/nottegra/items/c248f8c4474439f40a49
ࢀߟࢿྉ • ࣾͷ໘ͳख࡞ۀZapierʹΒͤΑ͏ #2 ʙWebhook ΛͬͯɺࣗಈԽͷ෯Λ͛Δʙ • https://tech.mercari.com/entry/2018/06/12/110000 • ϊϯϓϩάϥϚʔ͕Ͱ400Ҏ্ͷۀΛࣗಈԽʂϝϧΧ
Ϧ͕࡞ΔʮKarakuriʯͱ • https://seleck.cc/1230
Thanks!
More Decks by operandoOS
See All by operandoOS
ピープルウエア x スタートアップ
operando
3
4.6k
未経験者・初心者に贈る!40分でわかるAndroidアプリ開発の今と大事なポイント
operando
6
2.3k
EMから見たLinQ
operando
2
320
private spaceについてあれこれ調べてみた
operando
1
530
Flutter ランチ #2
operando
0
260
Flutter ランチ #1
operando
0
210
10XでのZapier活用事例の紹介
operando
0
1.5k
CircleCIでtiming dataに基づいたテスト分割をDartで利用できるようにした話.
operando
3
3.3k
App hibernation🥶
operando
0
480
Other Decks in Technology
See All in Technology
AWS Emulator を評価する: 手元で動く AWS の API の仕組み、始め方、確かめ方
inariku
PRO
2
750
ラクスル会社紹介資料|エンジニア向け / RAKSUL Introduction for Engineers
raksulrecruiting
0
130
SREのためのFinOps入門
muziyoshiz
3
1.6k
Oracle Base Database Service 技術詳細
oracle4engineer
PRO
17
120k
Re:ゼロから始めるシェアハウスのペットな鯖
silmin_
0
240
お風呂場をサーバルームにしよう
yusuke427
0
310
「任されビリティ」で引き受けて「よしなりてぃ」に頼らず任せる / Accept tasks with "makasarebility" and hand them over without relying on "yoshinarily"
pauli
1
760
IoTのデータ保存をSREの観点で考える
grimoh
1
110
「AIチャットからもできないの?」と言われたら ~業務アプリをMCP対応するときの認証・認可の勘所
oidfj
0
370
プロダクションコードにおける encoding/json から encoding/json/v2 へのスムーズな移行
sansantech
PRO
1
440
RAGの改善を速く回すための評価基盤
yosukeyoshida
6
2.7k
Context parameters で作る!はじめての型クラス
kworkdev
PRO
1
150
Featured
See All Featured
Designing for Timeless Needs
cassininazir
1
560
Making the Leap to Tech Lead
cromwellryan
135
10k
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
520
GraphQLとの向き合い方2022年版
quramy
50
15k
Mind Mapping
helmedeiros
1
440
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
1
310
Building Better People: How to give real-time feedback that sticks.
wjessup
371
20k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.7k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
31k
Faster Mobile Websites
deanohume
310
32k
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
610
New Earth Scene 8
popppiees
5
2.8k