- Add some numbers to your default messaging service.
- Copy the .env.example file and rename it to .env provide the required API keys and configuration information as outlined below.
- Ensure Twilio CLI and the Serverless Plugin are installed and configured.
- run 'twilio serverless:deploy'
- Copy the deployment URL information into Tradie Finder repo as explained below.
- In order to respond to the conversation as the tradesman Spin up an Instance of this Demo Chat App.
Note: This system uses the default message service and conversation service for your account.
- Join Via Text
- Join Via Tradie Finder
- Join Via QR Scan
- View and delete the conversations, participants and messages at /conversations.html
- Send a message to a number in your messaging service.
- Follow the prompts in the message to add yourself to the conversation.
A Simple React Based front end used to capture user details. Hits the "signup.js" function when confirmation button is hit. Follow instrutions here including specifying the Deployment URL. You need to sign in to the chat application as "Bob" to participate in conversations created by this.
instructions coming soon.
Copy .env.example to .env and update with your account variables.
Set your account Credentials for local testing ACCOUNT_SID= AUTH_TOKEN=
Create a TwiML bin that will play a simple message copy the URL and past below. e.g. the below will play a bell 10 times.
<?xml version="1.0" encoding="UTF-8"?>
<Response>
<Play loop="10">https://api.twilio.com/cowbell.mp3</Play>
</Response>
CALL_TWIML_BIN=
*Create a Verify Service and specify the SID here to allow the App to Verify a phone number. * VERIFY_SID=
*In order to use email validation a Sendgrid account with Email Validation needs to used. This requires a specific API key available from the API Key section of the Sendgrid Console SG_EMAIL_VERIFY_KEY=
An additional standard Sendgrid API key is required for sending email when using the QR Sign Up option. SENDGRID_API_KEY=
*Phone number from the Conversations Messaging Pool used to as the sending address for conversations created by signup functions. SIGNUP_PHONE=
- If you're using the Monkey Learn powered profanity filter you need to specify the key and model ID here. MONKEY_LEARN_TOKEN= PROFANITY_MODEL_ID=