Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

UA

image-20240611-123449.png

US

image-20240611-123805.png

RU

image-20240611-131051.png

...

Table of Contents
stylenone

...

Code Block
{
  "name": "START_TUNNEL",
  "description": "Subscribe user to a tunnel block 67923e109cf6cf5c3ca547c3",
  "strict": true,
  "parameters": {
    "type": "object",
    "properties": {
      "tunnel_block_id": {
        "type": "string",
        "description": "Id in description"
      }
    },
    "required": ["tunnel_block_id"],
    "additionalProperties": false
  }
}
Note

IMPORTANT!

  • function_name – must be only START_TUNNEL!

  • description – The only edit field in the code above for correct operation. In it, you describe the actions and conditions of subscribing to a block in the sales funnel. In this line, you need to specify the subscription action by specifying your block ID from the desired sales funnel. Replace 67923e109cf6cf5c3ca547c3 specified in the example above with your block ID.

...

  1. Go to the Assistants section on the OpenAI platform and create or select an existing AI Assistant.

    ksnip_20250226-144939.png
  2. Navigate to the System instructions section of your AI Assistant.

    ksnip_20250226-145046-20250226-125046.png
  3. Add a condition to the base instruction or a condition file specifying when the assistant should call the function. Example:

    "If the client asks about membership, provide information about membership and then activate the function (START_TUNNEL)"

    ksnip_20250226-145207-20250226-125207.pngImage Removedksnip_20250228-162250.pngImage Added

  4. In the Functions section of your assistant, enter the function execution command (START_TUNNEL).

    ksnip_20250226-145207-20250226-125207.pngImage Removedksnip_20250228-160846.pngImage Added

  5. Insert the JSON code of the function and specify tunnel_block_id in the description of your function.

    ksnip_20250226-145431-20250226-125431.pngImage Removedksnip_20250228-161111.pngImage Added

Now, the AI Assistant will analyze client dialogues and, based on their messages, execute the appropriate actions on the platform.

...