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

20221220 #nakanoshima_dev Salesforce と kintone と Slack と AWS CDK で SalesChatOps はじめました

20221220 #nakanoshima_dev Salesforce と kintone と Slack と AWS CDK で SalesChatOps はじめました

Takuya Oketani

December 20, 2022
Tweet

More Decks by Takuya Oketani

Other Decks in Technology

Transcript

  1. 4BMFTGPSDFͱ LJOUPOFͱ 4MBDLͱ "84
    $%,Ͱ 4BMFT$IBU0QT͸͡Ί·ͨ͠
    %FD
    OBLBOPTIJNBEFW -5/JHIU
    גࣜձࣾιϥίϜ
    ιϦϡʔγϣϯΞʔΩςΫτ
    Գ୩ ୓໵
    0SJHJOBM6QEBUFCZ$*NBHFSZIUUQTXXXGMJDLSDPNQIPUPTDFEXBSECSJDF

    View full-size slide

  2. OBLBOPTIJNB@EFW
    Գ୩ ୓໵ 5BLVZB 0LFUBOJ
    ιϦϡʔγϣϯΞʔΩςΫτ
    גࣜձࣾιϥίϜ
    ♥ Amazon SQS
    ♥ 6OJGJFE&OEQPJOU
    !PLFFF
    "CPVUNF

    View full-size slide

  3. OBLBOPTIJNB@EFW
    )BTIUBH
    OBLBOPTIJNB@EFW
    0SJHJOBM6QEBUFCZTUFWFHBSGJFME IUUQTXXXGMJDLSDPNQIPUPTTUFWFHBSGJFME

    View full-size slide

  4. גࣜձࣾιϥίϜ
    ೥ ݄ΑΓ ,%%*άϧʔϓ
    ʮ೔ຊൃʯάϩʔόϧͰ࢖͑Δ
    *P5ϓϥοτϑΥʔϜ
    ੈքதͷώτͱϞϊΛͭͳ͛ڞ໐͢Δࣾձ΁
    ঎߸ גࣜձࣾιϥίϜ 403"$0. */$
    ୅දऔక໾ࣾ௕ ۄ઒ ݑ
    ࣄۀ֓ཁ *P5 ϓϥοτϑΥʔϜͷఏڙ
    ڌ఺ ೔ຊ ౦ژ
    ɺӳࠃɺถࠃ γΞτϧ

    0SJHJOBM6QEBUFCZ3*4&IUUQTXXXGMJDLSDPNQIPUPTSJTFDPOG
    OBLBOPTIJNB@EFW

    View full-size slide

  5. OBLBOPTIJNB@EFW
    IUUQTJNBJGBDUPSZIBUFOBCMPHDPNFOUSZ
    4"ͱ͸

    View full-size slide

  6. OBLBOPTIJNB@EFW
    • ͓٬͞·ͷϏδωεΛ੒ޭͤ͞ΔͨΊ ࠔΓࣄΛղܾ͢ΔͨΊʹ
    403"$0.Λʮ͏·͘ʯ͔ͭͬͯ΋Β͏ɺͦͷͨΊʹ͋ΒΏΔٕज़
    αϙʔτΛఏڙ͢Δ
    • ࣌ʹ͸ 403"$0.Ҏ֎ɺ"84 ΍ "[VSFɺ(PPHMF$MPVEͳͲͷΫϥ΢υɺ
    ΦϯϓϨϛεɺιϑτ΢ΣΞ͔Βϋʔυ΢ΣΞɺσόΠεɺ4BB4ɺϏδωε
    Ϟσϧ·Ͱ͋ΒΏΔཁૉΛαϙʔτ
    • ͓٬͞·Λ஌Δ͜ͱ͕ॏཁ
    • ͲΜͳϏδωεΛఏڙ͍ͯ͠Δ͔
    • ར༻͍ͯ͠ΔΫϥ΢υ΍αʔϏε
    • ͜Ε·ͰͷҊ݅ͷྲྀΕɺܦҢ
    • ٕज़తͳशख़౓
    FUD
    4"ͱ͸

    View full-size slide

  7. OBLBOPTIJNB@EFW
    ͋Δ೔ͷӦۀܥγεςϜ
    "84$MPVE
    $PSF%BUBCBTF
    *OCPVOE
    (FOFSBUJPO
    .BSLFUJOH5PPMT
    $PNNVOJDBUJPO #VTJOFTT
    "QQMJDBUJPOT
    8PSLTQBDF
    4BMFT
    /PUJGZ
    *NQPSU-FBE
    /PUJGZ
    4ZOD-FBE
    /PUJGZ
    $3.
    *NQPSU

    View full-size slide

  8. OBLBOPTIJNB@EFW
    +PJOͯ͠ ೥໨ͷࢲ
    • ͱΓ͋͑ͣ 4BMFTGPSDFݟΕ͹͜Ε·ͰͷܦҢͱ͔೺ѲͰ͖ͦ͏
    • (PPHMF%SJWFʹ͸ఏҊॻͱ͔ܖ໿ॻ͕͋Δͷ͔ͳ
    • LJOUPOF͸Կʹ࢖ͬͯΔΜͩΖ
    ͓٬͞·Λ஌Δ

    View full-size slide

  9. OBLBOPTIJNB@EFW
    *NQPSU
    $3.
    ͋Δ೔ͷӦۀܥγεςϜ
    "84$MPVE
    $PSF%BUBCBTF
    *OCPVOE
    (FOFSBUJPO
    .BSLFUJOH5PPMT
    $PNNVOJDBUJPO #VTJOFTT
    "QQMJDBUJPOT
    8PSLTQBDF
    4BMFT
    /PUJGZ
    *NQPSU-FBE
    /PUJGZ
    4ZOD-FBE
    /PUJGZ
    4IFFUT
    ͰӦۀ؅ཧ
    4ZOD಺༰
    ɺ৚݅Λ೺
    Ѳͯ͠ͳ͍
    ΞϓϦཚཱ
    ௨஌ҲΕ
    ௨஌࿙Ε
    -PDBMNFNP
    ࡉ͔͍৘ใ
    ͸֤ࣗͷ
    ϩʔΧϧ
    ௨஌ͷϦΞ
    ΫγϣϯͰ
    εςʔλε
    ؅ཧ
    ఏҊॻͱ͔
    ͳ͍
    جװ %#ͱ
    4BMFTGPSDF
    ͕࿈ܞͯ͠
    ͍ͳ͍
    -FBEΛ
    ड৴͍ͯ͠
    Δ͚ͩ
    ͲͷϨϙʔ
    τ͕ੜ͖ͯ
    ͍Δͷ͔
    Θ͔Βͳ͍

    View full-size slide

  10. OBLBOPTIJNB@EFW
    +PJOͨ͠௚ޙͷࢲ
    • ͱΓ͋͑ͣ 4BMFTGPSDFݟΕ͹͜Ε·ͰͷܦҢͱ͔೺ѲͰ͖ͦ͏
    • (PPHMF%SJWFʹ͸ఏҊॻͱ͔ܖ໿ॻ͕͋Δͷ͔ͳ
    • LJOUPOF͸Կʹ࢖ͬͯΔΜͩΖ
    ೥ܦաͨ͠ࢲ
    • 4BMFTGPSDFΛ࢖͍ͬͯΔͷ͸ 4BMFTͷҰ෦ϝϯόʔ
    • ޱ఻ʹΑΔڞ༗
    • ͲΕ͕ਖ਼͍͠ͷ͔
    • εϧʔϓοτ͕Ͱͳ͍
    ͓٬͞·Λ஌Δ

    View full-size slide

  11. OBLBOPTIJNB@EFW
    JŊʋŊʘʋʘʋŊʋŊ`
    JcMŪŊʋŊʋŊʘʋMʋJJ
    cʋʘʋŊʘʋʋJc
    ŰcJMc৺Ŋʋʘʋ@ʘŊʘʋcccJ
    JŊcŊ/\ŊűKʋʍʘʌŘ ű̹ ŊʋJŊccM
    ʋŪʋʉ MA ʆʉ cMccK ବ໨͍ͩͭ͜
    ŪŊV ̹ cMKž
    ʌɺ ࿿ VžŘcž ૣ͘ͳΜͱ͔͠ͳ͍ͱʜ
    žʋ ŊŖ Ŋ@ ʗŘJ
    SŖzŪMƄŊ ʉ ʗ c
    ų ʌ ʋŊ @ ` c`

    View full-size slide

  12. OBLBOPTIJNB@EFW
    *NQPSU
    $3.
    ͋Δ೔ͷӦۀܥγεςϜ
    "84$MPVE
    $PSF%BUBCBTF
    *OCPVOE
    (FOFSBUJPO
    .BSLFUJOH5PPMT
    $PNNVOJDBUJPO #VTJOFTT
    "QQMJDBUJPOT
    8PSLTQBDF
    4BMFT
    /PUJGZ
    *NQPSU-FBE
    /PUJGZ
    4ZOD-FBE
    /PUJGZ
    4IFFUT
    ͰӦۀ؅ཧ
    4ZOD಺༰
    ɺ৚݅Λ೺
    Ѳͯ͠ͳ͍
    ΞϓϦཚཱ
    ௨஌ҲΕ
    ௨஌࿙Ε
    -PDBMNFNP
    ࡉ͔͍৘ใ
    ͸֤ࣗͷ
    ϩʔΧϧ
    ௨஌ͷϦΞ
    ΫγϣϯͰ
    εςʔλε
    ؅ཧ
    ఏҊॻͱ͔
    ͳ͍
    جװ %#ͱ
    4BMFTGPSDF
    ͕࿈ܞͯ͠
    ͍ͳ͍
    -FBEΛ
    ड৴͍ͯ͠
    Δ͚ͩ
    ͲͷϨϙʔ
    τ͕ੜ͖ͯ
    ͍Δͷ͔
    Θ͔Βͳ͍

    View full-size slide

  13. OBLBOPTIJNB@EFW
    • ೔ʑͷ׆ಈͷதͰӦۀϝϯόʔʹ 1BJO1PJOUΛώΞϦϯά
    • ݱঢ়ͱཧ૝ͷܗ
    • Ͳ͜ʹϦιʔεΛ͔͞Ε͍ͯΔ͔
    • 4MBDLΛத৺ʹۀ຿Λճ͍ͯ͠Δ
    • ௨஌Λॲཧ͖͠Εͳ͍
    • طಡεϧʔ
    • ॲཧͨ݁͠Ռ͕ 4MBDLҎ֎ʹ࢒Βͳ͍
    Ӧۀ׆ಈΛ஌Δ

    View full-size slide

  14. OBLBOPTIJNB@EFW
    ͜͜ʹͳʹ͔
    ͱ͍͏͜ͱͰ
    "84$MPVE
    $PSF%BUBCBTF
    *OCPVOE
    (FOFSBUJPO
    .BSLFUJOH5PPMT
    $PNNVOJDBUJPO #VTJOFTT
    "QQMJDBUJPOT
    8PSLTQBDF
    4BMFT
    /PUJGZ
    *NQPSU-FBE
    /PUJGZ
    4ZOD-FBE
    /PUJGZ
    $3.
    *NQPSU

    View full-size slide

  15. OBLBOPTIJNB@EFW
    • ʮͳʹ͔ʯʹ࢖͑ͦ͏ͳ΋ͷ
    • ཁ݅
    • 4MBDL΁ͷ౤ߘʢ௨஌ʣΛτϦΨʔʹͳʹ͔͢Δ
    • 4MBDL΁౤ߘ͢Δ
    ४උ
    "84$IBUCPU "NB[PO&WFOU#SJEHF "NB[PO"QQ'MPX "84-BNCEB
    "844UFQ'VODUJPOT FUD

    View full-size slide

  16. OBLBOPTIJNB@EFW
    ࣮ߦ4")BDLBUIPO

    View full-size slide

  17. OBLBOPTIJNB@EFW
    4MBDLCPU
    ݁Ռ
    "84$MPVE
    $PSF%BUBCBTF
    *OCPVOE
    (FOFSBUJPO
    .BSLFUJOH5PPMT
    $PNNVOJDBUJPO #VTJOFTT
    "QQMJDBUJPOT
    8PSLTQBDF
    4BMFT
    /PUJGZ
    *NQPSU-FBE
    /PUJGZ
    4ZOD-FBE
    /PUJGZ
    $3.
    *NQPSU

    View full-size slide

  18. OBLBOPTIJNB@EFW
    • ͓໰͍߹ΘͤϑΥʔϜ͔Βೖྗ
    • ೖྗ͕ .BSLFUJOH5PPMʹ࿈ܞ
    • -FBEΛ࡞੒
    • 4MBDLʹ௨஌
    • 4BMFTGPSDFʹ -FBEΛಉظʢඇಉظॲཧʣ
    • 4MBDL΁ͷ௨஌ΛτϦΨʔ
    • -FBE৘ใΛ 4BMFTGPSDF͔Βऔಘ
    • 4BMFTGPSDFͷϦϯΫͱҰॹʹεϨουʹ౤ߘ
    ݁Ռ

    View full-size slide

  19. OBLBOPTIJNB@EFW
    • 4BMFT0QT4MBDLCPU
    • ࢖ͬͨ΋ͷ
    • "84$%,
    • "84-BNCEB
    • "NB[PO"1*(BUFXBZ
    • &YQSFTT
    • 4MBDL#PMU
    • +4GPSDF
    TBMFP஀ੜ

    View full-size slide

  20. OBLBOPTIJNB@EFW
    • IUUQTHJUIVCDPNTMBDLBQJCPMUKT
    • 4MBDLΞϓϦΛ࡞ΔϑϨʔϜϫʔΫ
    • *ODPNJOH 8FCIPPL0VUDPNJOH8FCIPPLɺ)VCPUͰۤ͠·ͳ͍͍ͯ͘
    • ͪͳΈʹ 8FCIPPL͸طʹ %FQSFDBUFE
    • )VCPU͔ΒͷҠߦखॱ͋Γ
    • ௚ײతʹίʔυΛॻ͚Δ
    • ։ൃ༻ͷ TMBDLDIBOOFMΛ༻ҙ͢Δͱָ
    4MBDL#PMU

    View full-size slide

  21. OBLBOPTIJNB@EFW
    • ॳظԽ
    4MBDL#PMU

    View full-size slide

  22. OBLBOPTIJNB@EFW
    • ϦεφʔΛΞλον
    4MBDL#PMU

    View full-size slide

  23. OBLBOPTIJNB@EFW
    • IUUQTKTGPSDFHJUIVCJP
    • +4͔Β 4BMFTGPSDF"1*ʹΞΫηε͢Δ-JCSBSZ
    • ҆ఆ൛ͷ࠷৽͸ WYܥ ͚ͩͲ WЌΛ࠾༻
    • Y͸ +4 &4
    ϕʔεɺ͸ 54ϕʔε
    • BTZODBXBJUͰ 1SJNJTF஍ࠈ͔Βͷ։์
    • ܕఆٛ͸ਖ਼ٛ
    • 74$PEF Ͱ 4BMFTGPSDFΦϒδΣΫτͷεΩʔϚ৘ใΛ࢖ͬͯࣗಈิ׬Ͱ͖Δ
    • ΧελϜΦϒδΣΫτʹ΋ରԠ
    +4GPSDF

    View full-size slide

  24. OBLBOPTIJNB@EFW
    • ઀ଓ
    • $36%
    +4GPSDF

    View full-size slide

  25. OBLBOPTIJNB@EFW
    • 402- 4BMFTGPSDF0CKFDU2VFSZ-BOHVBHF
    ΋ൃߦͰ͖Δ
    +4GPSDF

    View full-size slide

  26. OBLBOPTIJNB@EFW
    • "84-BNCEB"NB[PO"1*(BUFXBZͷΈ
    • 4MBDLΞϓϦ #PU
    ͕ඞཁͩͬͨ
    • 8FCIPPL͸ඇਪ঑
    • ݟૹΓ
    • "84$IBUCPUɺ"NB[PO&WFOU#SJEHF
    • ݁ہ -BNCEB
    • "NB[PO"QQ'MPX
    • σʔλసૹ
    • "844UFQ'VODUJPOT
    • ͦΜͳʹෳࡶ͡Όͳ͍
    "84

    View full-size slide

  27. OBLBOPTIJNB@EFW
    • طଘͷ࢓૊ΈΛվम͠ͳ͍
    • ࠷খݶͷϦιʔεͰ࠷େݶͷޮՌΛ໨ࢦ͢
    • ਓʹ΋ίʔυʹ΋༏͍͠ܗ
    • ਓ޲͚ͷϝοηʔδ͸ίʔυʹ͸༏͘͠ͳ͍ɺͦͷٯ΋·ͨવΓ
    • ϝοηʔδͷ࠶ར༻ੑ
    • ࠓͷͱ͜Ζ
    +40/͔͠উͨΜ
    • ͋͘·Ͱ΋ TBMFP͸τϦΨʔΛ఻ൖͤ͞ΔͷΈ
    • ෳࡶ͸࣮૷͸͠ͳ͍ 㲈ίʔυͰόάΛੜΈग़ͨ͘͠ͳ͍ɺϩʔίʔυ
    • 4BMFTGPSDFͷϑϩʔΛ࢖ͬͯෳ਺ΦϒδΣΫτͷؔ࿈ͷ੔߹ੑΛऔΔ
    • TBMFP͕ ͭߋ৽ɺ4BMFTGPSDFଆͰ࿈ಈͯ͠ϑϩʔͰߋ৽
    ৺͕͚ͨ͜ͱ

    View full-size slide

  28. OBLBOPTIJNB@EFW
    • ରԠ͢Δϝοηʔδͷ௥Ճ
    • ࢿྉμ΢ϯϩʔυ
    • ݟੵॻൃߦ FUD
    • ෇༩͢Δ৘ใͷ௥ՃʢLJOUPOFରԠʣ
    • ୲౰νʔϜ
    • ύʔτφʔ FUD
    • ϦΞΫγϣϯͰ 4BMFTGPSDFΛߋ৽
    • Ϩίʔυͷॴ༗ऀΛม͑Δ
    • ϨίʔυΛ %JTRVBMJGJFEʹߋ৽͢Δ FUD
    ͦͷޙ

    View full-size slide

  29. OBLBOPTIJNB@EFW
    • ࠷ॳ͔Β Wܥ
    • EFQMPZָ͕
    • -BNCEBͰ֎෦αʔϏε࿈ܞΛ࣮૷͢Δͱ͖ͷ 5PLFO4FDSFUͳͲ͸
    44.ͷ 1BSBNFUFS4UPSFʹ 4FDVSF4USJOHͰ֨ೲ
    • $%,ͷ֎Ͱ࣮ࢪ
    • EFQMPZ࣌ʹ 1BSBNFUFS"3/Λ $POUFYUͰ஫ೖ
    • -BNCEBͷ࣮ߦ 3PMFʹ TTN(FU1BSBNFUFSΛڐՄ
    • XBUDI͸ਆ
    • $IBU0QT͸ϝοηʔδ෼ղَ͕໳
    • EFQMPZͨ͠Β XBUDIͰ༷ࢠݟʢ-PH͕ $POTPMFʹग़Δʣ
    • ͳʹ͔͋Ε͹վमͯ͠ IPUTXBQ
    "84$%,

    View full-size slide

  30. OBLBOPTIJNB@EFW
    0SJHJOBM6QEBUFCZ#FTU1JDLPIUUQTXXXGMJDLSDPNQIPUPT!/
    খ͘͞؆୯ͳ՝୊͔Β
    ͭͣͭվળͯ͠
    ૣ݁͘ՌΛग़͍ͯ͘͠

    View full-size slide

  31. OBLBOPTIJNB@EFW
    • 4BMFT͔ΒͷϦΫΤετ૿Ճ
    • 4BMFTGPSDFؔ࿈͕ͲΜͲΜඈΜͰ͘Δ
    • ʮ4BMFTGPSDFͷ͜ͱͳΒͱΓ͋͑ͣ UBLVZBʹ૬ஊʯ
    • ʮͳΜ͔ 4BMFTGPSDFͷ։ൃ͕Ͱ͖Δͱฉ͍ͯʯ
    • 4BMFT0QT5FBN WJSUVBM
    ઃཱ
    • ֤ 5FBNͰؤு͍ͬͯͨਓ͕݉຿
    ͦͷޙ

    View full-size slide

  32. OBLBOPTIJNB@EFW
    0SJHJOBM6QEBUFCZ4FSHFJ'IUUQTXXXGMJDLSDPNQIPUPTEWB
    ग़ޱઓུ

    View full-size slide

  33. OBLBOPTIJNB@EFW
    • 4BMFTGPSDF$3.Խ ϓϩδΣΫτൃ଍
    • .BOBHFS.FFUJOHͰܾఆ
    • ೦ئͷސ٬Ϛελʂύʔτφʔ؅ཧʂΞαΠϯ؅ཧʂ
    • Ͱ΋੔උ͢Δͷ͸୭Զ
    • 4BMFTશମͰ 4BMFTGPSDFΛ࢖͍ͬͯ͘ྲྀΕ
    • දܭࢉιϑτ͔Βͷ୤٫
    • ·ͩσʔλͷೖྗʹ೉ʢ৯Θͣݏ͍ʣ͋Γ
    • ͦΖͦΖ ਓ͸πϥ͍
    • ͜͜൒೥͸Ϧιʔεͷ໿ Λ 4BMFT0QTؔ࿈ʹׂ౰
    ͦͯ͠ݱࡏ

    View full-size slide

  34. OBLBOPTIJNB@EFW
    IUUQTDBSFFSTTPSBDPNKQ

    View full-size slide