๐Ÿšš csv ์ž…๋ ฅ์œผ๋กœ SMS ์ผ๊ด„ ์ „์†ก

1712 ๋‹จ์–ด javauxnewsshowdev

โ” ์†Œ๊ฐœ



๋งŽ์€ ๊ณ ๊ฐ ์‚ฌ์šฉ ์‚ฌ๋ก€์—์„œ ์‚ฌ๋žŒ๋“ค์€ ์ผ๊ด„ ์ฒ˜๋ฆฌ ๋ชจ๋“œ๋กœ SMS๋ฅผ ๋ณด๋‚ด์•ผ ํ•ฉ๋‹ˆ๋‹ค... ๋งค์šฐ ๊ด‘๋ฒ”์œ„ํ•œ ๋น„์ฆˆ๋‹ˆ์Šค ์‚ฌ๋ก€์˜ ๊ฒฝ์šฐ.

๐Ÿ’ญ ERP ํ†ตํ•ฉ ๊ณ ๋ ค ์‚ฌํ•ญ ๋ฐ csv



๊ณ ๊ฐ ๋ฐ์ดํ„ฐ๋Š” ERP/CRM ๋ฐ ๋ฏธ๋“ค์›จ์–ด(๊ด€๊ณ„ํ˜• ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค, ETL ์ž‘์—… ๋“ฑ)์˜ ๋์—†๋Š” ๋ชฉ๋ก์„ ํ†ตํ•ด ๊ด€๋ฆฌํ•  ์ˆ˜ ์žˆ์œผ๋ฉฐ ์ˆ˜์ž‘์—… ์†”๋ฃจ์…˜ ๋ฐ ์Šคํ”„๋ ˆ๋“œ์‹œํŠธ ๋“ฑ์„ ํฌํ•จํ•ฉ๋‹ˆ๋‹ค.

โ˜๏ธ ๊ทธ๋ž˜๋„ ์–ด๋Š ์‹œ์ ์—์„œ ๊ทธ๋“ค ๋ชจ๋‘๋Š” ์ •๊ธฐ์ ์œผ๋กœ ๋˜๋Š” ์ด๋ฒคํŠธ ๊ธฐ๋ฐ˜(์ƒ์ผ, ์ถฉ์‹ค๋„ ํฌ์ธํŠธ, ํŠน๋ณ„ ์ด๋ฒคํŠธ, ๊ธด๊ธ‰ ์ƒํ™ฉ, ๋‚ ์งœ ๋“ฑ)์— ๋”ฐ๋ผ ๊ณ ๊ฐ์—๊ฒŒ ํ†ต์ง€ํ•ด์•ผ ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

์ด ๋ชจ๋“  ์‚ฌ๋žŒ๋“ค์ด ํ•˜๋Š” ์ผ์€ ๋‹ค์Œ์„ ์ˆ˜์ถœํ•˜๋Š” ๊ฒƒ์ž…๋‹ˆ๋‹ค.

1๏ธโƒฃ ๊ณ ๊ฐ ์ „ํ™”๋ฒˆํ˜ธ
2๏ธโƒฃ ๋ณด๋‚ผ ๋งž์ถค ๋ฉ”์‹œ์ง€

์ด๊ฒƒ์ด ๋ฐ”๋กœ ์ด ๊ธฐ๋Šฅ์— ๊ด€ํ•œ ๊ฒƒ์ž…๋‹ˆ๋‹ค.

๋‹ค์Œ๊ณผ ๊ฐ™์€ ๊ฐ„๋‹จํ•œ csv ๋•๋ถ„์— ํ•ด๋‹น ๋ฐ์ดํ„ฐ๋ฅผ ๊ณ ๊ฐ์—๊ฒŒ ๋ณด๋‚ด์•ผ ํ•ฉ๋‹ˆ๋‹ค.

โ˜‘๏ธ ๋ชจ๋“  ์–ธ์–ด์™€ ํ”Œ๋žซํผ/๋ฏธ๋“ค์›จ์–ด์—์„œ ์‰ฝ๊ฒŒ ์ œ์ž‘ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
โ˜‘๏ธ ์ฃผ๋ณ€์— ๋ฐ”๋กœ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ๋Š” ์ž๋™ํ™” ๋„๊ตฌ(Power Automate, Zapier, IFTTT ๋“ฑ)๊ฐ€ ๋งŽ์ด ์žˆ์Šต๋‹ˆ๋‹ค.

๐Ÿ—ƒ๏ธ ์ž…๋ ฅ ๋ฐ์ดํ„ฐ : csv



์ž…๋ ฅ์€ ๋ชจ๋“  ์Šคํ”„๋ ˆ๋“œ์‹œํŠธ์—์„œ ๊ฐ€์ ธ์˜ฌ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.



... ๊ทธ๋Ÿฐ ๋‹ค์Œ csv๋กœ ๋‚ด๋ณด๋ƒˆ์Šต๋‹ˆ๋‹ค.

to,message
+687XXXXXX,"Hey Jack, All work and no play makes Jack a dull boy."
+687XXXXXX,"Today is your birthday, come to our shop to enjoy your discount."
+687XXXXXX,"Come enjoy black friday tomorrow morning!"
+687XXXXXX,"Yoy now have 1000pts. on your fidelity card, come enjoy discount today"
+687XXXXXX,"Your command has been delivered and awaits for you at the postoffice"


๋‹ค์Œ์œผ๋กœ csv ๋ฅผ ๋ณด๋‚ด๋ ค๋ฉด ๋‹ค์Œ๊ณผ ๊ฐ™์ด ํ•˜์‹ญ์‹œ์˜ค.

opt-sms send -f "${SHORT_NUMBER_CODE}"\
    -c "${ACCOUNT}"\
    -i "~/demo_batch_sms.csv"


๊ทธ๋ฆฌ๊ณ  ๋๋‚ฌ์Šต๋‹ˆ๋‹ค.

์ด์ œ... ์ถฉ๋ถ„ํ•œ ์ด์•ผ๊ธฐ, ๋ฐ๋ชจ๋ฅผ ์ฆ๊ธฐ์ž!

๐Ÿฟ ๋ฐ๋ชจ

์ข‹์€ ์›นํŽ˜์ด์ง€ ์ฆ๊ฒจ์ฐพ๊ธฐ