Journeys creation on BIK Dashboard
4. Click on the plus icon and follow the on screen instructions to add the journey to your store
Once added from the library, they'll be available to be used from the journey dashboard
Add Shiprocket Email and Password inside the flow
On Shiprocket Dashboard
Open your Shiprocket account and navigate to the left-hand panel.
Click On Settings => API => Configure => Create an API user.
On the pop-up menu, fill in the email (this should be different from the one used to register to ShipRocket).
Fill in an appropriate password and confirm the password.
Click on 'Generate API Credential'. On successful completion, you should have a new API user-generated.
On BIK Dashboard
Open the flow using the pencil icon from the journey dashboard
Open the Rest API #3 block (refer the image below)
Inside this block input the email and password (refer the image below), received from the Shiprocket dashboard
β
Click on save button
Click on Save Journey button in the header at the top right
Setting up the Webhook
Copy the Webhook URL from the BIK Journey Dashboard
In the journey find the "Starting Point" node and click on it
From the side modal that opened click on "Payload Received on Webhook URL"
From the new central modal that opened
On the top right you'll see an option to "Select an account"
Click on it
From the dropdown select the WhatsApp number you want to use with this journey
Just below it you'll find a copy button, click on it (this is the URL we'll use later on Shiprocket Dashboard)
Now from the bottom of the modal, click Next
Click Next again (don't make any changes here)
Click Create Trigger
Click Save from the side modal
Click on Save Journey button in the header at the top right
Paste the Webhook URL in the Shiprocket Dashboard
Log in to your Shiprocket account
Go to Settings > API > Webhooks
Add the webhook URL
Enable the toggle
That is it you have successfully integrated Shiprocket real time updates with BIK, you should start seeing the triggers in the journey analytics soon after
In case it's still not working for you please reach out to our team at [email protected]