From 99756b3fd50208c7cf51f87937331790f9e4fdb1 Mon Sep 17 00:00:00 2001 From: Linden Crandall Date: Tue, 21 Jan 2025 23:42:16 +0000 Subject: [PATCH] Update ERPNext SMS Twilio Settings --- ERPNext-SMS-Twilio-Settings.md | 25 +++++-------------------- 1 file changed, 5 insertions(+), 20 deletions(-) diff --git a/ERPNext-SMS-Twilio-Settings.md b/ERPNext-SMS-Twilio-Settings.md index b429862..153f282 100644 --- a/ERPNext-SMS-Twilio-Settings.md +++ b/ERPNext-SMS-Twilio-Settings.md @@ -34,19 +34,17 @@ Let’s browse to [base64encode](https://www.base64encode.org) in the Box Labele accountsid:authtoken -Here’s what it looks like with our fake data above: - Okay, now that we have that information, click the the ENCODE Button and then copy the entire result from the box below the Encode Button: So in our example, we now have a Base64 encoded string we can add to the list of information we need to configure our SMS Settings in ERPNext: - QkI5ODcyODdpaDk4MjA5Yzg5NWQ4ODA5OGViOmNhR2h4WjVhdmdlOVhmd0h1Y1pxQmxQS3A4OTBzc2FmM2Q= +`QkI5ODcyODdpaDk4MjA5Yzg5NWQ4ODA5OGViOmNhR2h4WjVhdmdlOVhmd0h1Y1pxQmxQS3A4OTBzc2FmM2Q=` Now, what do we do with this information above? We add one little Word plus a space: - Basic QkI5ODcyODdpaDk4MjA5Yzg5NWQ4ODA5OGViOmNhR2h4WjVhdmdlOVhmd0h1Y1pxQmxQS3A4OTBzc2FmM2Q= +`Basic QkI5ODcyODdpaDk4MjA5Yzg5NWQ4ODA5OGViOmNhR2h4WjVhdmdlOVhmd0h1Y1pxQmxQS3A4OTBzc2FmM2Q=` # Step 2: Configure SMS Settings @@ -55,30 +53,17 @@ Now that we’ve gathered all the pieces of information, let’s go into ERP Nex Log into your ERPNext Instance. Search for “SMS Settings” in the search bar and click on the “SMS Settings” result. This will bring you to the SMS settings screen. SMS Gateway URL -Copy the SMS Gateway URL into the box labeled SMS Gateway URL, like this… - -image -image792×348 20.2 KB - -As you can see we copied our Gateway url with our Account SID as documented above. -Note: The wrapping of the text in the image above is done automatically based on the box and is not actually a break. DO NOT ADD a carriage return. Just copy and paste and move on. -Message +Copy the SMS Gateway URL into the box labeled SMS Gateway URL. **Note:** The wrapping of the text in the image above is done automatically based on the box and is not actually a break. DO NOT ADD a carriage return. Just copy and paste and move on. Next, in the Message Parameter Field, type the word “Body”: -image -image763×137 7.23 KB - Receiver In the Receiver Parameter field, type the word “To”: -image -image776×147 6.63 KB +**Static Parameters** -Static Parameters - -Now we need to add our “Static Parameters” one by one. For the next screen shots, I will be clicking on the “Edit” icon for each row of the Static Parameters table to show you the individual row settings. +Now we need to add our “Static Parameters” one by one. ## VALUE 1: Authorization Let’s start with the first parameter, the “Authorization” parameter. For this we are going to use the “Basic BASE64ENCODEDACCOUNTSID:AUTHTOKEN” string that we created above. So that looks like the following: