# Using Twilio and Electron for SMS Messages

**URL:** <https://community.particle.io/t/using-twilio-and-electron-for-sms-messages/57790>\
**Category:** Education\
**Created:** [September 21, 2020, 2:37pm UTC](https://community.particle.io/t/using-twilio-and-electron-for-sms-messages/57790 "2020-09-21T14:37:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![KB1DC](https://avatars.discourse-cdn.com/v4/letter/k/4af34b/32.png) [@KB1DC](https://community.particle.io/u/KB1DC)\
**Post date:** [September 21, 2020, 2:37pm UTC](https://community.particle.io/t/using-twilio-and-electron-for-sms-messages/57790/1 "2020-09-21T14:37:41Z")

</div>

I have followed the example of having the Electron board publish a SMS message via Twilio to my Iphone. All is good. What I’m trying to understand and is the bases to my question is to send a SMS message from my Iphone via Twilio to my Electron (subscribe) and interpret that message to control a sensor.

Is it possible if I could get a snippet of code to get the mechanism down that would really help me understand also is Twilio the best 3rd party to text (SMS messages) back/forth to control sensors?  
Thank you very much!

---

<div class="post-metadata">

**Author:** ![KB1DC](https://avatars.discourse-cdn.com/v4/letter/k/4af34b/32.png) [@KB1DC](https://community.particle.io/u/KB1DC)\
**Post date:** [September 30, 2020, 3:07pm UTC](https://community.particle.io/t/using-twilio-and-electron-for-sms-messages/57790/2 "2020-09-30T15:07:02Z")

</div>

Can anyone comment on this please!

---

<div class="post-metadata">

**Author:** ![peekay123](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/peekay123/32/810_2.png) [@peekay123](https://community.particle.io/u/peekay123)\
**Post date:** [September 30, 2020, 3:22pm UTC](https://community.particle.io/t/using-twilio-and-electron-for-sms-messages/57790/3 "2020-09-30T15:22:24Z")

</div>

@KB1DC, you may find your answer if you did on search in the forum:

[https://community.particle.io/search?q=receive%20sms%20electron](https://community.particle.io/search?q=receive%20sms%20electron)

---

<div class="post-metadata">

**Author:** ![KB1DC](https://avatars.discourse-cdn.com/v4/letter/k/4af34b/32.png) [@KB1DC](https://community.particle.io/u/KB1DC)\
**Post date:** [September 30, 2020, 10:49pm UTC](https://community.particle.io/t/using-twilio-and-electron-for-sms-messages/57790/4 "2020-09-30T22:49:05Z")

</div>

Thank you
