Skip to content
An example of a customer feedback bot to rate and get text input regarding past sales via text messaging written in go.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE
SMS Sales Example.postman_collection.json
main.go
readme.md

readme.md

SMS Sales Example

This is example code for my article on this topic found here: Customer feedback via SMS using Go and Slack

An example of a customer feedback bot to rate and get text input regarding past sales via text messaging written in go.

Run like so: go run main.go [46elks username] [46elks password] [Elks46 phone number] [Slack webhook]

You can register for a 46elks account on their website.

Read about Slack webhooks and how to get your webhook url in the Slack Incoming Webhook Documentation

To send an email just send a post request with a to field to /outgoing, below is an example in curl

curl -X POST \
  http://<your url here>/outgoing \
  -H 'Content-Type: application/x-www-form-urlencoded' \
  -d 'to=<your number here>'
You can’t perform that action at this time.