Skip to content

Shortcodes and blocks

Chatbot

[ogaie_chatbot id="your-chatbot-id"]

id is the chatbot ID (the default chatbot is default). A chatbot created by code uses custom_id instead. Wrong IDs show an error to editors only. Use the ogaie_chatbot_params filter to change attributes in code.

Discussions

[ogaie_discussions]

Lists the visitor's past conversations.

Forms (Pro)

[ogaie_form id="your-form-id"]

Build a form by hand with the field shortcodes: ogaie-form-field, ogaie-form-upload, ogaie-form-submit, ogaie-form-reset, ogaie-form-output and ogaie-form-conditional.

Usage (Pro)

[ogaie_stats_current display="usage"]

Shows the current user's usage. [ogaie_stats] does the same.

FAQ (FAQ Blocks module)

[og_faq id="your-set-id"]
[og_faq question="Do you ship abroad?"]Yes, to most countries.[/og_faq]

Build FAQ sets on the FAQ Blocks screen (Conversations > FAQ Blocks) and show one with its id. A single question also works inline. In Elementor, use the OG FAQ widget.

FAQ Blocks screen

Contact form (Contact Form module)

[og-contact-form-block]

A simple contact form with honeypot, reCAPTCHA, phone and consent fields. The older [contact-form-block] shortcode still works. Settings are under Conversations > Contact Form.

Contact Form settings

Blocks

Block What it places
og-aicore/chatbot (AI Chatbot) A chatbot.
og-aicore/discussions (AI Discussions) The visitor's discussions.
og-aicore/form-container, form-field, upload-field, form-submit, form-reset, form-output, form-conditional An AI form, built from parts (Pro).
og/faq-block (FAQ) One question and answer.
og-contact-form-block/form The contact form.

Tips

  • Use the chatbot ID shown in its settings.
  • For a site-wide popup, use the chatbot's popup option instead of placing it on every page.