Upgrade to Pro — share decks privately, control downloads, hide ads and more …

日常業務を自動化する Slackボットサービス”Subot”その裏側

日常業務を自動化する Slackボットサービス”Subot”その裏側

Kenji Kinukawa

June 09, 2016
Tweet

More Decks by Kenji Kinukawa

Other Decks in Technology

Transcript

  1. ೔ৗۀ຿ΛࣗಈԽ͢Δ
    4MBDLϘοταʔϏεz4VCPUz
    ͦͷཪଆ
    L@LJOVLBXB!4VCPU *OD

    View full-size slide

  2. ҥ઒ݑ࣏ʢ͖͵͔Θ͚Μ͡ʣ
    !L@LJOVLBXB
    גࣜձࣾ4VCPU୅දʢԿͰ΋԰ʣ
    झຯɿΨϯϓϥ
    ࣗݾ঺հ

    View full-size slide

  3. ҥ઒ݑ࣏ʢ͖͵͔Θ͚Μ͡ʣ
    גࣜձࣾ4VCPU୅දԿͰ΋
    झຯɿΨϯϓϥ
    ࣗݾ঺հ

    View full-size slide


  4. 4VCPUʢεʔϘοτʣ
    w ೔ৗۀ຿ΛࣗಈԽ͢ΔͨΊͷ4MBDLϘοταʔϏε
    w εέδϡʔϧϝοηʔδʢϦϚΠϯμʔʣ
    w ΧϨϯμʔ࿈ܞʢ(PPHMFΧϨϯμʔʣ
    w Ұൠެ։ʢύϒϦοΫЌʣ
    w ύϒϦοΫЌத͸׬શແྉ

    View full-size slide

  5. 4VCPU͕Ͱ͖Δ͜ͱ

    View full-size slide

  6. ϦϚΠϯμʔ

    View full-size slide

  7. ϦϚΠϯμʔ
    w ຖि݄ɺՐɺਫͷ
    w ຖ݄YY೔ͷ
    w ຖ೔
    w YY࣌ZZ෼ʹ
    w l[[[[[[[[[[[[[[[zͱ͍͏ϝοηʔδΛ
    w IPHFνϟϯωϧʹૹΔ

    View full-size slide

  8. ΧϨϯμʔ࿈ܞ

    View full-size slide

  9. Ϙοτ։ൃΛ΍ͬͯΈͯ

    View full-size slide

  10. γεςϜߏ੒

    View full-size slide

  11. w 4MBDLͷϘοτ͸8FC4PDLFU
    w 8FC4PDLFUΛுΓͬͺͳ͠ʹ͠ͳ͍ͱ͍͚ͳ͍
    w ҆ఆӡ༻΍ϓϩηεϋϯυϦϯά
    w ࣗಈ෮ؼ
    w 4MBDLͷϝϯςφϯε΍ΞϯΠϯετʔϧରԠͷϋϯυ
    Ϧϯά

    View full-size slide

  12. 4VCPUͷΩϟϥΫλʔ

    View full-size slide

  13. 4VCPUͷΩϟϥΫλʔ

    View full-size slide

  14. 69ͷ࿩
    w νϟοταʔϏε্Ͱఏڙ͞ΕΔ
    w ςΩετϕʔε
    w ϘοταʔϏε͕গͳ͍

    View full-size slide

  15. ྫʣαΠϯΞοϓϑϩʔʢҰൠެ։લʣ
    w "EEUP4MBDL
    w ϝΞυೖྗ
    w ট଴ϝʔϧট଴%.ड৴ΞΫςΟϕʔγϣϯϖʔδ
    w νʔϜ*%ɺύεϫʔυɺݴޠɺλΠϜκʔϯઃఆ
    w Ϣʔβʔొ࿥׬ྃ
    w 4MBDLνʔϜϝϯόʔશһʹট଴ϝʔϧট଴%.ૹ৴
    w αϯϓϧϦϚΠϯμʔొ࿥

    View full-size slide

  16. w ΞΧ΢ϯτ࡞੒ͩΔ͍
    w ࣍ʹԿΛͨ͠Β͍͍͔Θ͔Βͳ͍
    w HFOFSBMͰ͠Ό΂Βͳ͍Ͱཉ͍͠
    w શһʹ%.౤͛ͳ͍Ͱཉ͍͠
    w εύϜ૽͕͗ൃੜͯࣾ͠಺͕͟Θ͟Θͨ͠
    Ͳ͏ͳ͔ͬͨ

    View full-size slide

  17. αΠϯΞοϓϑϩʔʢվળ൛ʣ
    w "EEUP4MBDL
    w %.ͰXFMDPNFϝοηʔδΞΫςΟϕʔγϣϯϖʔδ
    w ݴޠɺλΠϜκʔϯઃఆ
    w Ϣʔβʔొ࿥׬ྃ
    w νϡʔτϦΞϧΛ%.Ͱૹ৴

    View full-size slide

  18. ֶͼ
    w ҙਤ͠ͳ͍%.ΛૹΒͳ͍
    w ެ։νϟϯωϧͰ๫Εͳ͍
    w ࣍ʹ΍Δ͜ͱΛڭ͑ͯ͋͛Δ
    w IFMQίϚϯυ͸ඞਢ

    View full-size slide

  19. 4MBDL"QQ%JSFDUPSZਃ੥
    w ਃ੥தʢʙʣ
    w ϨϏϡʔظؒ͸ฏۉिؒҐʢ4MBDLஊʣ
    w ن໿͕ଘࡏ͢ΔͷͰ͔ͬ͠ΓಡΉ
    w ޿ࠂ͸ېࢭɺϢʔβʔσʔλͷηΩϡϦςΟ
    w IUUQTBQJTMBDLDPNEPDTTMBDLBQQTDIFDLMJTU
    w ݁ߏࡉ͔͘ϨϏϡʔͯ͘͠ΕΔ

    View full-size slide

  20. ϨϏϡʔࢦఠ߲໨
    w ར༻ํ๏ʹ͍ͭͯͷઆ໌ෆ଍
    w ίϚϯυϔϧϓͱυΩϡϝϯτͱͷ૬ҧ
    w Τϥʔϝοηʔδ͕ෆ਌੾
    w ΧϨϯμʔ࿈ܞ͍ͯ͠ͳ͍ਓͱͷௐ੔࣌
    w είʔϓͷར༻༻్

    View full-size slide

  21. 4VCPUͷࠓޙ

    View full-size slide

  22. σΟΫγϣφϦʔ

    View full-size slide

  23. ϦΞΫγϣϯ

    View full-size slide

  24. ֎෦ϦΫΤετ
    ֎෦αʔϏε
    ϦϚΠϯμʔ
    σΟΫγϣφϦʔ
    )551ϦΫΤετ
    wσϓϩΠ
    wۈଵ
    w*'555࿈ܞ

    View full-size slide


  25. w ࣾ಺Ϙοτͷஔ͖׵͑ɺඇΤϯδχΞ΁։์
    w ೔ৗۀ຿ͷࣗಈԽ࡞Γ͜Έ

    View full-size slide


  26. #F-B[Zʢ΋ͬͱଵ͚Α͏ʂʣ
    ਓ͕ؒ΍Βͳͯ͘ྑ͍࢓ࣄΛ4VCPUʹ·͔ͤͯɺ
    νʔϜϝϯόʔ͕ಘҙͰ޷͖ͳ͜ͱʹΑΓଟ͘ͷ࣌ؒΛ
    ࢖͓͏

    View full-size slide