Menu Menu

Mweb Guide

Service Management Guide

Contents

Service management concept

Services provide functions over the web for users or other applications. The workflow of a service can be represented in the form of a dialogmap. A dialogmap is a directed graph consisting of nodes and links. The difference between a service and a broadcast is that a service begins with waiting for the incoming requests from users or other applications, while a broadcast starts with delivering text messages or Emails to a contact group.

Top

Create a service

Open the home panel by clicking the top-left home icon, and then click Services to go to the 'Services' page.

From there, you can see three tabs below the header. The tabs are categorized by the status of the services. Given below is a list of descriptions of the tabs:

  • Draft - contains drafts of the services that have the status of 'draft'. A draft will be removed once it has been started. You can create new services under this section.
  • Running - shows the services that are currently running. You can change the status of the service by pausing/restarting/stopping it. You can also check out the details of the service under this section.
  • Completed - shows the services that have the status of 'stop'. The details of the services are also provided.

To create a new service, click the leftmost Draft tab, and click Add on the left of the footer.

serviceAddDraft

Then you need to choose a template for this new service. Please refer to the template sections about how to create a service for each template.

Top

Start a service

Click one of the services you’ve created on the ‘Services’ page.

clickService

Then, you'll be taken to the service information page which shows the settings of this service. Click Start on the footer to start the service.

startService

Once a service has been started, you can find it under the Running section.

Top

Pause or stop a service

Switch to the Running tab on the ‘Services’ page.

runningServices

Choose one of the services from the list, and then you’ll be taken to the service activity page which shows the details of this service activity.

serviceActivity

Click Pause or Stop on the footer to pause or suspend the service.

Top

Template: Bridge SMS Service

This service redirects text messages sent by the authenticated users to a specified contact group. Once the broadcasts have been successfully delivered to the contacts that belong to the contact group, the contacts and the users can talk directly.

bridge_sms_service

Given below is a description of the workflow for the above Bridge SMS Service dialogmap:

  • Step 1: A user sends a text message to the service number. Once the server receives this text message, it verifies the mobile number to check whether the number matches the list of authenticated mobile numbers. If the authentication is successful, it'll go to Step 2; otherwise, it won't do anything.
  • Step 2: The service resend the text message out to every contact that belongs to the specified contact group.
  • Step 3: Once the contacts receive the text message, they can reply to it individually. Responses to the message will be delivered only to the original sender in separate messaging threads. At this stage, the connection between the user and contacts has been established so that they can talk directly.

To create a service, first choose the 'Bridge SMS Service' template.

serviceBridgeTemplate

Then you'll be taken to the service creation form.

serviceBridgeCreateForm

Given below is a list of descriptions of some fields within the form:

  • Service channel - the channel through which the service is running.
  • Service router - a service number that triggers the service. For each service number, it can only be used by one running service. Once a service number is occupied, it'll become hidden from other services. This number can be released only after the service is not in 'Start' state. Please note that currently we only have 2 SMS numbers for service router. Therefore, if you cannot find a number, it means others have already created a service with this number and that service is still running.
  • Set authenticated mobile numbers - specify the mobile numbers that the service accepts. The numbers are separated by commas. The percent sign(%) matches zero or more numbers, such as '%4155979%'.

Complete the form and click Save to save the service draft.

Top

Template: Link Video Service

link_video_service

Top

Template: Redirect URL Service

This service forwards one URL to a different URL. A redirect is a way to send users to a different URL from the one they originally requested.

redirect_url_service

To create a redirect URL service, first choose the 'Redirect URL Service' template, and then you'll be taken to the service creation form.

redirectForm

Given below is a list of fields within the form:

  • Service Channel: choose 'Link Action' from the drop down list.
  • Service Router: choose a label which needs to be redirected to a different URL.
  • Set Redirect to URL: specify the URL to which users will be forwarded.

Complete the form and click Save to save the service draft.

Top

Template: Video Greeting Service

This service provides the video greeting service. When users tap their NFC-enabled phone or scan the QR code on their greeting card, the web browser on their phone opens the service. The service first checks whether the label on the card has been used before. If the label has been used, the video associated with the label can then be played; otherwise, users can record a video for the label.

video_greeting_service

To create a video greeting service, first choose the 'Video Greeting' template, and then you'll be taken to the service creation form.

videoGreetingForm

Given below is a list of fields within the form:

  • Service Channel: choose 'Link Action'.
  • Service Router: choose any router that is available from the list.

Complete the form and click Save to save the service draft.

Top

Template: Service Groups Video Greeting

This service provides the video greeting service for a contact group. The contact group contains at least two columns - Label and Video. Label is a unique ID of the video greeting card. Video is a unique ID of the video associated with the label.

When users tap their NFC-enabled phone or scan the QR code on their greeting card, the web browser on their phone opens the service. For each label in the contact group, the service first checks whether it is valid or not. If the label is invalid, the service will be terminated with an error message. If it is valid, the service will then check whether the label has been used before. If it has been used, the video associated with the label can be played; otherwise, users can record a video for the label.

service_groups_video_greeting

Before creating a video greeting group service, you need to first create a contact book with at least two columns - Label and Video. The data type of these columns should be 'TEXT'. For more information about how to create a contact book, see Contact management. The next thing is to create a service label contact group using the contact book you've just created. Then you need to add contacts to this contact group. In each contact, fill in the label column with the label of a video greeting card and leave the video column blank. Please note that you should keep the video column empty. The system will fill in this column with a video ID when users record a video.

To create a video greeting group service, first choose the 'ServiceGroups: Video Greeting' template, and then you'll be taken to the service creation form.

videoGreetingGroupServiceForm

Given below is a list of fields within the form:

  • Service Channel: choose 'Link Action' from the drop down list.
  • Service Router: choose any router that is available from the list.
  • Service Label Group: choose the contact group you've just created which contains the label and video information.
  • Label Column: specify the label column within this service label group.
  • Video Column: specify the video column within this service label group.

Complete the form and click Save to save the service draft.

Top