Skip to main content

How-to setup a HTTP Trigger

Your robots can listen from a specific port. When some data posted to your server, it is added to specified queue. To create a HTTP trigger, you can follow the rules below:

  1. Go to Admin Console (https://your_workspace_name.robomotion.io/admin).

  2. Click the "Triggers" button at the left of the page.

Triggers

  1. Click Add Trigger button at the right of the table.

Add Trigger

  1. Select HTTP as trigger type, and HTTP In as HTTP trigger item.

New Trigger

  1. Enter the port number your server will be listen.

  2. Enter the max try count value which is the maximum try count for your queue items.

  3. Enter the endpoint for your service.

  4. Enter the name of the queue that your posted requests will be pushed to it.

  5. Enter the request unique id for your queue items.

  6. Select the importance of the queue item.

  7. Select the AES key for encrypting your queue items.

New Trigger Next

  1. Click the Next button.

  2. Give a name and description for your trigger.

  3. Select the flow that you want to run when the event occurred.

  4. Select the version of the specified flow.

  5. Select the robot which will listen the events.

  6. Click the Create button.

New Trigger Create

That is all. Now when you send a post request to your service, your data will be pushed to your queue.

note

Your robot should be connected to run triggers.