Einstein Workers

Type: NLP Worker

A Einstein worker takes user input and sends it to Einstein bot for natural language processing. A Einstein worker can be created through the CLI, or through portal.

Details for Einstein Worker Configuration

Once you have this information, you can derive the details which will be required for creating a Einstein worker:

  • AccountId:
  • PrivateKey:
  • Url:
  • ModelId:
  • NluConfidenceThresholdOverride [Optional] You can use this as an override of the returned detected intent confidence. If this value is higher than that returned from the nlu provider it will change the response to be a fallback, this value defaults to 0.

Creating Einstein worker through the cli

Save this json to a file and create a worker using the cli command sb-cli worker create file.json

  "Data": {
    "NluConfiguration": {
      "AccountId": "email@accountdomain.com",
      "PrivateKey": "srn:vault::ORGANIZATION:secret:einsteinprivatekey",
      "Url": "https://api.einstein.ai",
      "ModelId": "UTE887DhD88DF8DFDALOUD",
      "NluConfidenceThresholdOverride": 0.8
    "NluType": "Einstein"
  "Organization": "ORGANIZATION",
  "Config": {
    "Avatar": "default-bot"
  "Enabled": true,
  "Updated": 1608652074324,
  "Description": "Einstein worker",
  "Id": "4685b16c-a305-4b0c-b33d-8ae12b81ff9a",
  "Type": "nlp-worker",
  "Name": "EinsteinWorker",
  "Created": 1608652074324,
  "Status": "published",
  "Srn": "srn:botnet:REGION:ORGANIZATION:worker:4685b16c-a305-4b0c-b33d-8ae12b81ff9a"

Once you have created the worker using the CLI, it will return an ID for you. You need to then update/create a bot and place the worker at the top with the id and the type of nlp-worker

Creating Einstein worker through portal

You can create a Einstein worker using portal by navigating to your bot, and clicking on the resources tab.

  • Click Add Resource
  • Click Einstein Worker and then click Next.
  • Fill in the details of your Einstein worker.