# Shiprocket(old)

Using Shiprocket integration, one can send messages corresponding to shipping updates.

LimeChat can receive webhooks from Shiprocket that can act as events & can be used to trigger flows.

To integrate with Shiprocket, follow the below steps -

1. Login to Shiprocket dashboard
2. Go to `Settings` > `API (Configure)`\\

   <figure><img src="https://303644337-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbTdWohNbJyoGc4vPpxk1%2Fuploads%2F7bXeWUyTpZHpQMlMnDNQ%2Fimage%20(2).png?alt=media&#x26;token=05ffb007-e966-413b-b14b-3bc37abc1e2f" alt=""><figcaption></figcaption></figure>
3. Create an API user on Shiprocket using any email id \\

   <figure><img src="https://303644337-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbTdWohNbJyoGc4vPpxk1%2Fuploads%2FQcx82syMXD5BakIa96Sp%2FScreenshot%202022-07-21%20at%204.43.58%20PM.png?alt=media&#x26;token=e90f737f-13d3-44af-9273-b33904c816ae" alt=""><figcaption></figcaption></figure>

   <figure><img src="https://303644337-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbTdWohNbJyoGc4vPpxk1%2Fuploads%2FhGtN5lxdNqP2Y3FEUQD4%2FScreenshot%202022-07-21%20at%204.44.29%20PM.png?alt=media&#x26;token=5f7d3dcf-00ba-4862-9119-8e037e77df2c" alt="" width="563"><figcaption></figcaption></figure>
4. Share the email-id & password with LimeChat team. Here, Limechat team needs to create an integration manually.
5. Once done, LimeChat team will share a URL that looks like - `https://flow-builder.limechat.ai/webhook.handle_sr_ndr/?lc_integration=<integration_id>`
6. Configure this URL in Settings > Webhooks section of Shiprocket dashboard. Do not forget to turn on the Enable / Disable Webhook toggle.\\

   <figure><img src="https://303644337-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbTdWohNbJyoGc4vPpxk1%2Fuploads%2FVTbS6lNi2CLqj3ymLuju%2FScreenshot%202022-07-21%20at%204.45.55%20PM.png?alt=media&#x26;token=70f005ae-bb06-43d5-8338-a700fbdc2ad8" alt=""><figcaption></figcaption></figure>

Once this is done, shipping update related events will start streaming from Shiprocket to LimeChat Marketing platform, which can be used to trigger flows.
