Slot filling not working after bot import

Hey all, I added a slot filling node to a workflow that asks for a time slot.
It worked pretty well. But after I exported the bot and imported it on a new botpress installation (same version and os) it didn’t accept any input.

@mquenzer

Could you share sample bot that doesn’t work.

Also, what Botpress version you use?

The version I am using is botpress-v12_7_0. I’d like to send you the export file but because of the upload restrictions I can only offer you a few snippets which should be most relevant.

The intent is

{
  "name": "testfields",
  "contexts": [
    "global"
  ],
  "utterances": {
    "en": [
      "testfields"
    ]
  },
  "slots": [
    {
      "id": "ZF_CzUByoWlze6sm1mP01",
      "name": "price",
      "entities": [
        "amount-of-money"
      ],
      "color": 1
    }
  ]
}

The main flow:

{
  "version": "0.0.1",
  "catchAll": {
    "onReceive": [],
    "next": []
  },
  "startNode": "entry",
  "nodes": [
    {
      "id": "entry",
      "name": "entry",
      "next": [
        {
          "condition": "true",
          "node": "Slot-2fd205"
        }
      ],
      "onEnter": [],
      "onReceive": null
    },
    {
      "id": "skill-2fd205",
      "type": "skill-call",
      "skill": "Slot",
      "name": "Slot-2fd205",
      "flow": "skills/Slot-2fd205.flow.json",
      "next": [
        {
          "caption": "On extracted",
          "condition": "temp.extracted == \"true\"",
          "node": "node-ecce"
        },
        {
          "caption": "On not found",
          "condition": "temp.notExtracted == \"true\"",
          "node": "node-1f51"
        },
        {
          "caption": "On already extracted",
          "condition": "temp.alreadyExtracted == \"true\"",
          "node": "node-ecce"
        }
      ],
      "onEnter": null,
      "onReceive": null
    },
    {
      "id": "f1fc0924c6",
      "name": "node-ecce",
      "next": [
        {
          "condition": "true",
          "node": "END"
        }
      ],
      "onEnter": [
        "say #!builtin_text-APPV4-"
      ],
      "onReceive": null,
      "type": "standard"
    },
    {
      "id": "2cf1c0e312",
      "name": "node-1f51",
      "next": [
        {
          "condition": "true",
          "node": "END"
        }
      ],
      "onEnter": [
        "say #!builtin_text-RaU7XR"
      ],
      "onReceive": null,
      "type": "standard"
    }
  ]
}

And here is the skill:

{
  "version": "0.0.1",
  "catchAll": {
    "next": []
  },
  "startNode": "check-if-extracted",
  "skillData": {
    "retryAttempts": 3,
    "contentElement": "builtin_text-AFDKZa",
    "notFoundElement": "builtin_text-HganKw",
    "turnExpiry": -1,
    "intent": "testfields",
    "slotName": "price",
    "entities": [
      "amountOfMoney"
    ]
  },
  "nodes": [
    {
      "name": "slot-extract",
      "onEnter": [
        "say #!builtin_text-AFDKZa {}"
      ],
      "onReceive": [
        "basic-skills/slot_fill {\"slotName\":\"price\",\"entities\":\"amountOfMoney\", \"turnExpiry\":-1}"
      ],
      "next": [
        {
          "condition": "session.slots['price'] && (temp.valid === undefined || temp.valid == \"true\")",
          "node": "extracted"
        },
        {
          "condition": "true",
          "node": "not-extracted"
        }
      ],
      "id": "703840"
    },
    {
      "name": "extracted",
      "onEnter": [
        "builtin/setVariable {\"type\":\"temp\",\"name\":\"extracted\",\"value\":\"true\"}"
      ],
      "next": [
        {
          "condition": "true",
          "node": "#"
        }
      ],
      "id": "832688"
    },
    {
      "name": "not-extracted",
      "onEnter": [
        "basic-skills/slot_not_found {\"retryAttempts\":\"3\"}",
        "say #!builtin_text-HganKw {}"
      ],
      "onReceive": [
        "basic-skills/slot_fill {\"slotName\":\"price\",\"entities\":\"amountOfMoney\", \"turnExpiry\":-1}"
      ],
      "next": [
        {
          "condition": "session.slots['price'] && (temp.valid === undefined || temp.valid == \"true\")",
          "node": "extracted"
        },
        {
          "condition": "temp.notExtracted == \"true\"",
          "node": "#"
        },
        {
          "condition": "session.slots.notFound > 0",
          "node": "not-extracted"
        },
        {
          "condition": "true",
          "node": "#"
        }
      ],
      "id": "767449"
    },
    {
      "name": "check-if-extracted",
      "onEnter": [
        "basic-skills/slot_update_contexts {\"intentName\":\"testfields\"}"
      ],
      "next": [
        {
          "condition": "session.slots['price'] !== undefined",
          "node": "already-extracted"
        },
        {
          "condition": "true",
          "node": "slot-extract"
        }
      ],
      "id": "282552"
    },
    {
      "name": "already-extracted",
      "onEnter": [
        "builtin/setVariable {\"type\":\"temp\",\"name\":\"alreadyExtracted\",\"value\":\"true\"}"
      ],
      "next": [
        {
          "condition": "true",
          "node": "#"
        }
      ],
      "id": "073766"
    }
  ]
}

Please let me know if you need something else. Of course passing you the export file would be best.
Thanks in advance.