Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sangeeta mishr patch 1 #65

Open
wants to merge 21 commits into
base: sangeeta_patch_2
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
902bb19
Update 04. Upload files on GCS.md
SangeetaMishr Sep 19, 2023
b44acfc
Doc patch 5 (#50)
aravind-glific Sep 19, 2023
4b084bf
Update 02. Speed Sends.md
SangeetaMishr Sep 19, 2023
6fcadd4
updating V5.0 dashboard link
AkhileshNegi Sep 21, 2023
220b2b8
Update 02. Facebook Verification Process for WhatsApp Business API.md
SangeetaMishr Oct 12, 2023
b7d5148
Create Bhashini ASR (#56)
aravind-glific Oct 13, 2023
8cd2116
Doc patch 6 (#57)
aravind-glific Oct 13, 2023
737f0d9
Update 02. Facebook Verification Process for WhatsApp Business API.md
SangeetaMishr Oct 18, 2023
0fdb3dc
Update 02. Facebook Verification Process for WhatsApp Business API.md
SangeetaMishr Oct 18, 2023
051f160
Merge pull request #52 from glific/sangeeta_doc_patch
aravind-glific Oct 18, 2023
46f5dbf
Update 02. Facebook Verification Process for WhatsApp Business API.md
SangeetaMishr Oct 18, 2023
6cd7127
Update 02. Facebook Verification Process for WhatsApp Business API.md
SangeetaMishr Oct 18, 2023
cb518a7
Update 02. Facebook Verification Process for WhatsApp Business API.md
SangeetaMishr Oct 18, 2023
ecdf615
Update 02. Facebook Verification Process for WhatsApp Business API.md
SangeetaMishr Oct 18, 2023
e954747
Update 01. Custom Expression.md
AkhileshNegi Oct 19, 2023
a9d7218
Merge pull request #61 from glific/AkhileshNegi-patch-1
AkhileshNegi Oct 19, 2023
5a68b03
Create Conversing in voice notes over custom knowledge base.md
SangeetaMishr Oct 26, 2023
107d2cf
Merge pull request #62 from glific/SangeetaMishr-patch-3
SangeetaMishr Oct 26, 2023
5cb8756
Update Conversing in voice notes over custom knowledge base.md
aravind-glific Oct 27, 2023
488738e
Merge pull request #59 from glific/sangeeta_doc_patch
aravind-glific Oct 27, 2023
4e7a29f
Update 02. Facebook Verification Process for WhatsApp Business API.md
SangeetaMishr Oct 30, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/2. Onboarding/GCS Setup/04. Upload files on GCS.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ ___

8. Click on the file name to open the details of the file and copy the URL of the file.

![image](https://user-images.githubusercontent.com/32592458/212660995-e3d8e1d6-c900-4fb3-8b83-480561b2e609.png)
<img width="1470" alt="test2" src="https://user-images.githubusercontent.com/143380171/268852539-554ae0fb-7792-415a-9556-36af6c6eacf1.png"/>

___
## Use media files in a flow
Expand Down
2 changes: 1 addition & 1 deletion docs/3. Product Features/02. Speed Sends.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ Speed Sends is a functionality in Glific to create a message or save the message
## Save Speed Sends
1. You can save any existing messages from chat from the little dropdown arrow shown next to the message. It will be saved in the Speed Sends list.

![image](https://user-images.githubusercontent.com/32592458/212643552-f5014c79-719c-41bb-87d4-4ba43c06b00a.png)
<img width="902" alt="test" src="https://user-images.githubusercontent.com/143380171/268947000-6630694c-5b4a-4d9a-8bcd-bd43e5adc835.png"/>



Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,32 @@ Click on `OK` and use the column name like below and access the value of cell va
![image](https://user-images.githubusercontent.com/32592458/219550825-82831f46-a239-4600-b95e-bf0533f0565b.png)
___

## Send template messages using Google Sheets

Template messages could be sent using Google Sheets using `Read Google Sheets`. This is generally useful when different template messages need to be scheduled & sent regularly to the beneficiaries.
Let us dive in a bit deeper by looking at the steps involved :

1. Create the template messages that you'd like to send via Google Sheets using the normal method. Refer [Creating Template Messages](https://glific.github.io/docs/docs/Product%20Features/Templates/#hsm-template-creation--approval-submission)

2. Once the template is created, make note of the UUID of the template messages you need to share using Google Sheets. Refer the screenshot below :
<img width="1210" alt="Screenshot 2023-09-15 at 8 54 26 AM" src="https://user-images.githubusercontent.com/132430123/268163270-3279fafa-a9a3-4b11-8f64-2035c8aa6a2f.png"/>

3. Create a Google Sheet with two headers, `Key` and `template_uuid` as shown below. Usually the `key` column will be having dates on which the individual templates need to be sent.
<img width="730" alt="Screenshot 2023-09-15 at 1 25 33 PM" src="https://user-images.githubusercontent.com/132430123/268214931-e64e1019-ee86-49cc-8ec0-10d1d816d56d.png"/>
4. Now let us setup the flow. The flow starts with a `Link Google Sheets` node which has the Google Sheets we created linked. This is how the node looks like :

![Screenshot 2023-09-15 at 1 50 48 PM](https://user-images.githubusercontent.com/132430123/268221544-0320cd68-1fbd-42fb-9d98-fd3740acfe18.png)

As you can see, the row input field is given an expression `@calendar.current_date` which tries to match the current date value with a `Key` value. If a match is found, then that row is chosen.

5. In the next step, `Send contact a message` is used and an expression is given in place of the template selection drop-down. The expression reads `<%= Glific.Clients.ColoredCow.send_template("@results.sheet.template_uuid", ["@contact.name"]) %>`

![Screenshot 2023-09-15 at 1 56 54 PM](https://user-images.githubusercontent.com/132430123/268223071-9f2730b9-9364-46fc-b062-1bbd39c102f9.png)

In this expression, the `template_uuid` matching the row in the given date gets send to the user. The expression also passes the value of the contact's name. You can pass multiple variables in this expression, if the template message demands it, using comma separation.

In this way, you can use Google Sheets for sending template messages. With the use of [Triggers](https://glific.github.io/docs/docs/Product%20Features/Triggers/) you'll be able to schedule different template messages for specific dates using Google Sheets, enabling you to do it in a single flow, instead of creating separate flows for separate templates. This is particularly useful, when you plan to share a set of instructions/ advisory/ content in a scheduled manner in specific dates & let's you use dynamic content for the same.

## Add Writable Google Sheet

### Enable Google Sheet APIs and Add Credentials
Expand Down Expand Up @@ -184,4 +210,4 @@ To handle blank cells in between the Google Sheet use [Split by Expression](http
___
## Advanced Feature Webinar

<iframe width="800" height="500" src="https://www.youtube.com/embed/weYvWUizopc" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
<iframe width="800" height="500" src="https://www.youtube.com/embed/weYvWUizopc" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ You can use the `Split by a custom expression` option to make that happen.

`Split by a custom expression` uses a coding syntax to match the response received or profile attribute.

The syntax will be like `<%= if (Variable name = 'String' / number ), do: 1, else: 0 %>`
The syntax will be like `<%= if (Variable name == 'String' / number ), do: 1, else: 0 %>`
___

## Custom Expressions cheatsheet
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ ___

1. `Could not find Sub Flow: Help Workflow` - The subflow was created and exists no more.

2. `The next message after a long wait for time should be an HSM template` - After `Wait for time`, it should be an HSM message
2. `The next message after a long wait for time should be an HSM template` - After `Wait for time`, it should be an HSM message. The same error will be shown when you tick `Continue when there is no response` checkbox and the delay set is 1 day or more.

3. `Could not find Contact: SaaS Admin`- When staff member added to Send Broadcast node is deleted but in the node it is not updated

Expand Down
Loading