Activate Listener for Outbound Flows

In order to trigger and run any outbound flow first you need to activate the listener for that flow. Activating listener means activating the service of outbound calls on the outbound flow. To activate the listener, you need to follow below steps -

  1. Create any outbound flow

  2. Attach the DIDs to that flow

  3. Drop a mail on help@phonon.io regarding the same with the following details

    1. Client ID/ Account ID

    2. Flow ID

    3. All the DID numbers attached

How to trigger Outbound Flows ?

Triggering outbound flow means uploading customer’s details to broadcast or run the outbound campaign (like customer number, startime, flow variables). That is making calls to those customers at mentioned starttime. The outbound flows can be trigged in three ways -

1. Webservice End Point

→ The API Request (with method as post) should be send to mentioned webservice end point in the flow. The webservice endpoint for

  1. Outbound Multicast flow is “https://central.phonon.in/kairos-apis/outbound/create

  2. Outbound Dialer flow is “https://central.phonon.in/kairos-apis/outbounddialer/create

→ API Request Body :

{
	"api-version" : "1.0",
  	"security-id" : "your security ID",
    "flow-id" : "your flow ID",
    "calls" : [{
        "client-identifier" : "Call identifier",
        "start-time" : "start date and time"
		"contact-numbers": ["Contact no to call"],
		"keys" : [
          {"name" : "$flow.key.<Flow Variable>",
          "value" : "value for flow variable"},
          {"name" : "$flow.key.<Flow Variable>",
          "value" : "value for flow variable"}
        ]
    }]
}

→ You can get security ID and flow ID from the flow’s configurator tab. Example shown below

Note - Before sending request, make sure to whitelist your IP through which you are sending API request in the whitelist section.

2. Email Upload

3. Direct Upload through Interface

You can upload the .csv or .zip file directly from the interface by selecting a file or by drag and drop method. To know more about direct upload, click here.

If you are triggering the flow for the first time or have updated any DIDs attached with the flow then make sure to activate the listener before triggering the outbound flow.