> ## Documentation Index
> Fetch the complete documentation index at: https://docs.neuroncx.in/llms.txt
> Use this file to discover all available pages before exploring further.

# Attribute And Post Content Create Using Inline Text (Type 9)

> Import attribute values from a Google Sheet and automatically create indexed post content using inline text and a treatment.

## Overview

This import does two things in one run — it brings in attribute values from your Google Sheet and then automatically fires a post content creation workflow using the inline text in your sheet. The result is fully indexed post content, ready to be used in conversations.

You don't need to run a separate step to create the post content — once the import processes your sheet, it hands off to the workflow automatically.

> [!NOTE]
>
> The import gives you an immediate success response. The post content creation and text indexing happen in the background — give it a few moments before checking the result.

***

## Prerequisites

Before running this import, two things must already be set up in NeuronCx:

* A **Text Indexing Workflow** must exist for your institution.
* A **Treatment** must be created with that Text Indexing Workflow attached to it.

If either of these is missing, the import will bring in the attribute values but the post content creation step won't fire. Check with your administrator if you're unsure whether these are set up.

***

## Preparing Your Sheet

Your sheet must include the following columns. NeuronCx reads each row and uses the values to create and index the post content.

| Column | Required | Notes |
| - | - | - |
| `ID` | ✅ Yes | Primary identifier for the record |
| `Label` | ✅ Yes | Display label for the attribute |
| `Description` | ✅ Yes | Description of the attribute |
| `Day Price` | Optional | Day-time pricing value |
| `NightPrice` | Optional | Night-time pricing value |
| `Wap_InteractiveList_Title` | Optional | Title shown in WhatsApp interactive list |
| `Wap_InteractiveList_Description` | Optional | Description shown in WhatsApp interactive list |
| `Wap_InteractiveList_Caption` | Optional | Caption shown in WhatsApp interactive list |
| `WAF_ItemHiddenLabel` | Optional | Hidden label used for internal matching |
| `PostContentText` | ✅ Yes | The inline text used to create the post content |
| `JourneyInstMasterIds` | ✅ Yes | The journey(s) this post content should be attached to |

![Type 9 Sheet Format](https://mintlify.s3.us-west-1.amazonaws.com/neuroncx/images/type9_sheet_format.png)

> [!TIP]
>
> Optional columns can be left blank or omitted — NeuronCx will only process the columns that are present and have a header.

***

## Running the Import

### Setting up a new import

**1. Open Imports**

Navigate to **Home > Ontology > Attribute Settings & Bulk Edit**, then click the **Imports** tab.

![Imports Tab](https://mintlify.s3.us-west-1.amazonaws.com/neuroncx/images/imports_tab.png)

**2. Click + Import**

Click the **+ Import** button in the top right to open the New Import modal.

![Plus Import Button](https://mintlify.s3.us-west-1.amazonaws.com/neuroncx/images/plus_import_button.png)

**3. Give it a label**

Enter a name that describes this import — for example, "Package Post Content Import."

**4. Add the Google Sheet ID**

Paste the sheet ID or the full Google Sheets URL — NeuronCx will extract the ID automatically.

![New Import Modal](https://mintlify.s3.us-west-1.amazonaws.com/neuroncx/images/new_import_modal.png)

**5. Verify**

Click **Verify**. NeuronCx confirms it can read the sheet and shows you the row and column count — use this to catch an empty or wrong sheet before continuing.

**6. Select the import type**

In the Import type panel on the left, select **Content & Knowledge**. Then choose **Attribute And Post Content Create Using Inline txt** (`#9`) from the list on the right.

![Type 9 Selected](https://mintlify.s3.us-west-1.amazonaws.com/neuroncx/images/type9_selected.png)

**7. Create the import**

Click **Create import**. The import now appears in your list under Content & Knowledge, ready to run.

### Running the import

**1. Find the import**

From the Data Import list, locate the import you just created. You can filter by **Content & Knowledge** to narrow the list.

![Import List Content Filter](https://mintlify.s3.us-west-1.amazonaws.com/neuroncx/images/import_list_content_filter.png)

**2. Open the import**

Click the arrow icon on the import row to open it.

**3. Select the attribute and treatment**

Before running, you'll be asked to select two things:

* **TrxAttribute** — the attribute set to import values into.
* **Treatment and Workflow** — the treatment that will fire the post content creation after the import.

![Type 9 Run Screen](https://mintlify.s3.us-west-1.amazonaws.com/neuroncx/images/type9_run_screen.png)

**4. Click Import**

Click **Import** to run it. You'll get a success response immediately — the post content creation and text indexing continue in the background.

![Import Button](https://mintcdn.com/neuroncx/YQLY19__ssBpkd6m/images/import_button.png?fit=max\&auto=format\&n=YQLY19__ssBpkd6m\&q=85\&s=fc3388fc3482680d5fb36ddb0023d5aa)

***

## Checking the Result

Once the background processing is done, the run history table updates with how many rows were read and how many values were set. Click a run's **Status** to see a detailed breakdown of which rows succeeded, failed, or were skipped.

![Type 9 Run History](https://mintlify.s3.us-west-1.amazonaws.com/neuroncx/images/type9_run_history.png)

> [!TIP]
>
> Because processing happens in the background, the run may show as in progress for a short time after you fire it. Wait a minute and refresh if the status hasn't updated yet.

***

## Limits to Keep in Mind

* A Text Indexing Workflow and a Treatment must already be set up before running this import — the post content step won't fire without them.
* The `ID`, `Label`, `Description`, `PostContentText`, and `JourneyInstMasterIds` columns are required. Rows missing any of these may not process correctly.
* Columns without a header are skipped automatically.
* This import is non-blocking — you get a success response right away, but the actual post content creation happens in the background. Don't re-run immediately if content hasn't appeared yet.
* Only one import runs at a time. If another import is already running, this one will queue and wait its turn.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.