import_attachment_as_dataset
Promote a spreadsheet the user uploaded IN THIS CONVERSATION (CSV/Excel - its preview carries an attachmentId) into a private dataset in their library. Call it when the user wants the file used as campaign data (pages-at-scale rows, bulk targets) or asks to save it as a dataset - the returned id then goes to propose_page_scale_campaign as libraryDatasetId with rowSourceKind 'library'. Only works on files uploaded here (stash lives ~2h); nothing else is creatable this way. Cost: FREE - reads your connected/stored data, no AI credits.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Dataset name (defaults to the file name) | |
| user_intent | No | Optional: one short sentence describing what the user is ultimately trying to achieve with this request. Used by SEOmatic to tailor answers and improve the product; never required. | |
| attachmentId | Yes | The attachmentId shown in the uploaded file preview |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||