Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/uberswe/smssalesexample

An example of a customer feedback bot to rate and get text input regarding past sales via text messaging written in go.
https://github.com/uberswe/smssalesexample

Last synced: about 2 months ago
JSON representation

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

Awesome Lists containing this project

README

        

## SMS Sales Example

This is example code for my article on this topic found here: [Customer feedback via SMS using Go and Slack](https://gophp.io/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](https://46elks.com).

Read about Slack webhooks and how to get your webhook url in the [Slack Incoming Webhook Documentation](https://api.slack.com/incoming-webhooks)

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:///outgoing \
-H 'Content-Type: application/x-www-form-urlencoded' \
-d 'to='
```