The Text to Document step lets you create a Document file containing the specified text. Currently, it creates a new file containing the text contents without any formatting or styling.
Options
Name
Type
Description
Content
Plain Text
The text content you want to place in the file.
Outputs
Name
Type
Description
File
Document File
The created file.
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"Respell","colors":{"primary":"#5344E5","light":"#8F84F8","dark":"#5344E5"},"favicon":"/_images/logo/favicon.png","logo":{"light":"https://mintlify.s3-us-west-1.amazonaws.com/respell-docs-v2/_images/logo/light.png","dark":"https://mintlify.s3-us-west-1.amazonaws.com/respell-docs-v2/_images/logo/dark.png"},"background":{"decoration":null,"color":{"light":null,"dark":"#090014"}},"navbar":{"links":[{"label":"Sign Up","href":"https://respell.ai/register"}],"primary":{"type":"button","label":"Log In","href":"https://respell.ai/login"}},"footer":{"socials":{"x":"https://twitter.com/respellai","linkedin":"https://www.linkedin.com/company/respellai/","youtube":"https://www.youtube.com/@respellai","slack":"https://join.slack.com/t/respellcommunity/shared_invite/zt-2hu3jrvs7-OOIprhyCGIeOB8hiy~AmOg"}},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"respell-docs-v2","hasAudioNarration":false,"actualSubdomain":"respell-docs-v2","customDomains":["docs.respell.ai"],"gitSource":{"type":"github","owner":"respell-ai","repo":"respell-docs-v2","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6ae92013f2d1fb3a80bde716:success","clientVersion":"0.0.4347","searchFilterCounts":[{"language":"default","tag":"Documentation","count":101},{"language":"default","tag":"Learning Respell","count":26},{"language":"default","tag":"Steps Reference","count":18},{"language":"default","tag":"Spell Editor","count":10},{"language":"default","tag":"Integrations Reference","count":7},{"language":"default","tag":"Workspaces","count":6},{"language":"default","tag":"File Tools","count":6},{"language":"default","tag":"Web \u0026 Code Tools","count":5},{"language":"default","tag":"API Reference","count":4},{"language":"default","tag":"Getting Started","count":4}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"steps-reference/file-tools/text-to-document","slug":"/steps-reference/file-tools/text-to-document","pageMetadata":{"title":"Text to Document","description":"","href":"/steps-reference/file-tools/text-to-document"},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={img:`img`,p:`p`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{Heading,Table}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`The Text to Document step lets you create a Document file containing the specified text. Currently, it creates a new file containing the text contents without any formatting or styling.`}),`\n`,_jsx(_components.p,{children:_jsx(_components.img,{src:`https://mintlify.s3-us-west-1.amazonaws.com/respell-docs-v2/_images/steps-reference/document-to-text.png`,alt:`Document to Text step`})}),`\n`,_jsx(Heading,{level:`2`,id:`options`,children:`Options`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Name`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Description`})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Content`}),_jsx(_components.td,{children:`Plain Text`}),_jsx(_components.td,{children:`The text content you want to place in the file.`})]})})]}),`\n`,_jsx(Heading,{level:`2`,id:`outputs`,children:`Outputs`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Name`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Description`})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`File`}),_jsx(_components.td,{children:`Document File`}),_jsx(_components.td,{children:`The created file.`})]})})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Text to Document","description":"","href":"/steps-reference/file-tools/text-to-document"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Options","slug":"options","depth":2,"children":[]},{"title":"Outputs","slug":"outputs","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"respell-docs-v2","siteName":"Respell","title":"Text to Document - Respell","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"originalFileLocation":"steps-reference/file-tools/text-to-document.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"application-name\" content=\"Respell\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/respell-docs-v2/_generated/favicon/apple-touch-icon.png?v=3\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/respell-docs-v2/_generated/favicon/favicon-32x32.png?v=3\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/respell-docs-v2/_generated/favicon/favicon-16x16.png?v=3\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/respell-docs-v2/_generated/favicon/favicon.ico?v=3\">\u003cmeta data-mint-head property=\"og:title\" content=\"Text to Document - Respell\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Respell\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.respell.ai/steps-reference/file-tools/text-to-document\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://respell-docs-v2.mintlify.site/_mintlify/api/og/v2?division=File+Tools\u0026amp;title=Text+to+Document\u0026amp;theme=bcdf7309d4559169f776b0a4\u0026amp;signature=2d13e7c7d72858a7d7237d6593b666e31cf61a96c67a3f59bc1690ba7a04fc82\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Text to Document - Respell\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://respell-docs-v2.mintlify.site/_mintlify/api/og/v2?division=File+Tools\u0026amp;title=Text+to+Document\u0026amp;theme=bcdf7309d4559169f776b0a4\u0026amp;signature=2d13e7c7d72858a7d7237d6593b666e31cf61a96c67a3f59bc1690ba7a04fc82\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"https://mintlify.s3.us-west-1.amazonaws.com/respell-docs-v2/_generated/favicon/browserconfig.xml?v=3\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Respell\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#5344E5\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.respell.ai/steps-reference/file-tools/text-to-document\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/steps-reference/file-tools/text-to-document.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.respell.ai/#organization\",\"name\":\"Respell\",\"url\":\"https://docs.respell.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintlify.s3-us-west-1.amazonaws.com/respell-docs-v2/_images/logo/light.png\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.respell.ai#website\",\"name\":\"Respell\",\"url\":\"https://docs.respell.ai\",\"publisher\":{\"@id\":\"https://docs.respell.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.respell.ai/steps-reference/file-tools/text-to-document#webpage\",\"url\":\"https://docs.respell.ai/steps-reference/file-tools/text-to-document\",\"name\":\"Text to Document\",\"isPartOf\":{\"@id\":\"https://docs.respell.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.respell.ai/steps-reference/file-tools/text-to-document#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.respell.ai/steps-reference/file-tools/text-to-document#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"File Tools\",\"item\":\"https://docs.respell.ai/steps-reference/file-tools/document-to-text\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Text to Document\",\"item\":\"https://docs.respell.ai/steps-reference/file-tools/text-to-document\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.respell.ai/steps-reference/file-tools/text-to-document#article\",\"headline\":\"Text to Document\",\"name\":\"Text to Document\",\"url\":\"https://docs.respell.ai/steps-reference/file-tools/text-to-document\",\"mainEntityOfPage\":{\"@id\":\"https://docs.respell.ai/steps-reference/file-tools/text-to-document#webpage\"},\"publisher\":{\"@id\":\"https://docs.respell.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.respell.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Respell\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Respell\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/steps-reference/file-tools/text-to-document.md","siteName":"Respell","nav":{"global":null,"anchors":[{"anchor":"Documentation","icon":"book-open","tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/documentation/getting-started/overview"}]},{"tab":"Steps Reference","groups":[{"group":"Flow Tools","pages":[{"title":"Condition","href":"/steps-reference/flow-tools/condition"},{"title":"Display","href":"/steps-reference/flow-tools/display"},{"title":"Human Review","href":"/steps-reference/flow-tools/human-review"}]},{"group":"Text Tools","pages":[{"title":"Generate Text","href":"/steps-reference/text-tools/generate-text"},{"title":"Combine Text","href":"/steps-reference/text-tools/combine-text"},{"title":"Summarize Text","href":"/steps-reference/text-tools/summarize-text"}]},{"group":"File Tools","pages":[{"title":"Document to Text","description":"","href":"/steps-reference/file-tools/document-to-text"},{"title":"Text to Document","href":"/steps-reference/file-tools/text-to-document"},{"title":"Text to Speech","description":"","href":"/steps-reference/file-tools/text-to-speech"},{"title":"Transcribe Speech","href":"/steps-reference/file-tools/transcribe-speech"},{"title":"Describe Image","href":"/steps-reference/file-tools/describe-image"},{"title":"Generate Image","href":"/steps-reference/file-tools/generate-image"}]},{"group":"Web \u0026 Code Tools","pages":[{"title":"Research Agent","href":"/steps-reference/web-code-tools/research-agent"},{"title":"Read Website","href":"/steps-reference/web-code-tools/read-website"},{"title":"Search Google","href":"/steps-reference/web-code-tools/search-google"},{"title":"Query Database","href":"/steps-reference/web-code-tools/query-database"},{"title":"Run Code","href":"/steps-reference/web-code-tools/run-code"}]},{"group":"Integrations","pages":[{"title":"Integrations","href":"/steps-reference/integrations/overview"}]}]},{"tab":"Integrations Reference","pages":[{"title":"Integrations Reference","href":"/integrations-reference/using-integrations/overview"}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/overview/developer-quickstart"}]}]},{"anchor":"Slack Community","href":"https://join.slack.com/t/respellcommunity/shared_invite/zt-2hu3jrvs7-OOIprhyCGIeOB8hiy~AmOg","icon":"slack","color":{"light":"#5E56EF","dark":"#5E56EF"}},{"anchor":"Support","href":"mailto:[email protected]","icon":"envelope","color":{"light":"#5E56EF","dark":"#5E56EF"}},{"anchor":"Enterprise Inquiries","href":"mailto:[email protected]","icon":"building","color":{"light":"#5E56EF","dark":"#5E56EF"}}]},"basePath":"","title":"Text to Document - Respell","deploymentId":"dpl_6UE2cqB47X6P7P3F2hD3UphW6ijc","buildId":"dpl_6UE2cqB47X6P7P3F2hD3UphW6ijc","dynamics":["a74be98ba7"],"chunks":["zoom-image-lightbox-BodsesVp.js","lightbox-handle-r17bVUz3.js"]}