# extendify/3.2.1/src/Agent/workflows/misc/start-onboarding.js

Extendify, version 3.2.1. 27 lines.

- Page: https://pluginprobe.com/plugins/extendify/3.2.1/code/src/Agent/workflows/misc/start-onboarding.js
- Raw: https://pluginprobe.com/plugins/extendify/3.2.1/raw/src/Agent/workflows/misc/start-onboarding.js
- Modified: 2026-09-16T19:34:02+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/extendify/3.2.1/code/src/Agent/workflows/misc/start-onboarding.js#L10-L20`.

```javascript
// Onboarding extends this file. Giving it a whenFinished component of its own
// is what a step beyond change-site-design's design picker would hang off.
import changeSiteDesignWorkflow from '@agent/workflows/theme/change-site-design';
import { __ } from '@wordpress/i18n';

export default {
	...changeSiteDesignWorkflow,
	id: 'start-onboarding',
	// Launch clears the chat, so an empty one means nobody has been greeted yet.
	available: () =>
		!window.extAgentData?.chatHistory?.length &&
		changeSiteDesignWorkflow.available(),
	example: {
		...changeSiteDesignWorkflow.example,
		// Sent hidden, so it never renders and never needs translating.
		text: 'Start onboarding',
		agentResponse: {
			...changeSiteDesignWorkflow.example.agentResponse,
			// translators: this is the initial message in the agent chat, welcoming the user. Keep it short and friendly and follow the same markdown format and emoji.
			reply: __(
				'#### Your site is ready 🎉\nWant to explore other website designs?',
				'extendify-local',
			),
		},
	},
};

```
