<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Inputs from multiple alteryx workflows in Alteryx Designer Desktop Discussions</title>
    <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Inputs-from-multiple-alteryx-workflows/m-p/1422587#M352256</link>
    <description>&lt;P&gt;I want to look into a folder with all of my Alteryx workflows and detail all of the input dependencies within those workflows.&lt;/P&gt;</description>
    <pubDate>Tue, 18 Nov 2025 09:24:27 GMT</pubDate>
    <dc:creator>Haarith</dc:creator>
    <dc:date>2025-11-18T09:24:27Z</dc:date>
    <item>
      <title>Inputs from multiple alteryx workflows</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Inputs-from-multiple-alteryx-workflows/m-p/1422587#M352256</link>
      <description>&lt;P&gt;I want to look into a folder with all of my Alteryx workflows and detail all of the input dependencies within those workflows.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Nov 2025 09:24:27 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Inputs-from-multiple-alteryx-workflows/m-p/1422587#M352256</guid>
      <dc:creator>Haarith</dc:creator>
      <dc:date>2025-11-18T09:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: Inputs from multiple alteryx workflows</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Inputs-from-multiple-alteryx-workflows/m-p/1422589#M352258</link>
      <description>&lt;P&gt;Alteryx workflows are stored as XML files (.yxmd, .yxmc, .yxwz). Each tool and its configuration is represented in XML tags. Input tools typically have tags like:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Exemple :&lt;BR /&gt;&amp;lt;GuiSettings&amp;gt;&lt;BR /&gt;&amp;lt;File&amp;gt;path_to_file.xlsx&amp;lt;/File&amp;gt;&lt;BR /&gt;&amp;lt;/GuiSettings&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;So the steps are:&lt;/P&gt;&lt;P&gt;1. Scan the folder for all .yxmd, .yxmc, .yxwz files.&lt;/P&gt;&lt;P&gt;2.Parse each XML file and look for:&lt;/P&gt;&lt;P&gt;- &amp;lt;File&amp;gt; tags (Excel, CSV, etc.)&lt;BR /&gt;- Database connection strings (often in &amp;lt;Connection&amp;gt; or &amp;lt;Password&amp;gt; tags)&lt;BR /&gt;- Other input sources (API endpoints, etc.)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;3. Aggregate results into a report (CSV or Excel) with:&lt;/P&gt;&lt;P&gt;- Workflow name&lt;BR /&gt;- Full path&lt;BR /&gt;- Input type (File, Database, etc.)&lt;BR /&gt;- Input location/path&lt;/P&gt;</description>
      <pubDate>Tue, 18 Nov 2025 09:33:35 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Inputs-from-multiple-alteryx-workflows/m-p/1422589#M352258</guid>
      <dc:creator>Chaoued</dc:creator>
      <dc:date>2025-11-18T09:33:35Z</dc:date>
    </item>
    <item>
      <title>Re: Inputs from multiple alteryx workflows</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Inputs-from-multiple-alteryx-workflows/m-p/1422592#M352259</link>
      <description>&lt;P&gt;You can read your Alteryx workflow with Alteryx as a text file (CSV without the delimiter '\0'), then filter on the tags you want to extract.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Nov 2025 10:01:17 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Inputs-from-multiple-alteryx-workflows/m-p/1422592#M352259</guid>
      <dc:creator>Chaoued</dc:creator>
      <dc:date>2025-11-18T10:01:17Z</dc:date>
    </item>
    <item>
      <title>Re: Inputs from multiple alteryx workflows</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Inputs-from-multiple-alteryx-workflows/m-p/1422620#M352266</link>
      <description>&lt;P&gt;You can use a Directory tool to read all your XML files via this tool:&amp;nbsp;&lt;A href="https://help.alteryx.com/current/en/designer/tools/parse/workflow-xml-parser-tool.html" target="_blank"&gt;https://help.alteryx.com/current/en/designer/tools/parse/workflow-xml-parser-tool.html&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Save the workflows in a separate folder and convert them from .yxmd (or .yxmc/.yxwz) to xml files via cmd, then use a Directory tool to call in, batch the process with the tool above. Then parse what you need from there with keywords like "Input" etc.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Nov 2025 13:27:30 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Inputs-from-multiple-alteryx-workflows/m-p/1422620#M352266</guid>
      <dc:creator>caltang</dc:creator>
      <dc:date>2025-11-18T13:27:30Z</dc:date>
    </item>
    <item>
      <title>Re: Inputs from multiple alteryx workflows</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Inputs-from-multiple-alteryx-workflows/m-p/1422622#M352268</link>
      <description>&lt;P&gt;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/291003"&gt;@caltang&lt;/a&gt;&amp;nbsp;Hello,your response was very constructive. I would like to know which CMD command can be used to convert an Alteryx workflow into an XML file&lt;/P&gt;</description>
      <pubDate>Tue, 18 Nov 2025 13:45:49 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Inputs-from-multiple-alteryx-workflows/m-p/1422622#M352268</guid>
      <dc:creator>Chaoued</dc:creator>
      <dc:date>2025-11-18T13:45:49Z</dc:date>
    </item>
    <item>
      <title>Re: Inputs from multiple alteryx workflows</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Inputs-from-multiple-alteryx-workflows/m-p/1422714#M352286</link>
      <description>&lt;P&gt;Actually, now that I think about it, it gets too slow with command line. Python would be better.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;import pandas as pd
import os

# Read the data coming from the upstream Directory tool (connected to the '1' anchor)
# The data arrives as a pandas DataFrame.
df = Alteryx.read("#1")

# Define the output directory where you want the .txt files saved.
# Make sure this path exists on your system.
output_dir = r"C:\Your\Output\Folder\Path" # !! Update this path !!

# Ensure the output directory exists
if not os.path.exists(output_dir):
    os.makedirs(output_dir)

processed_files_list = []

# Iterate through each row in the DataFrame (each row is one file found by the Directory tool)
for index, row in df.iterrows():
    # 'FullPath' is a standard column from the Directory tool
    source_path = row['FullPath']
    
    # Create the new filename with a .txt extension
    # 'FileName' is another standard column from the Directory tool
    new_filename = os.path.splitext(row['FileName'])[0] + ".txt"
    destination_path = os.path.join(output_dir, new_filename)
    
    try:
        # Read the content of the .yxmd file (it's just text/XML)
        with open(source_path, 'r', encoding='utf-8') as f:
            content = f.read()
        
        # Write the content to a new .txt file
        with open(destination_path, 'w', encoding='utf-8') as f:
            f.write(content)
            
        processed_files_list.append({'OriginalPath': source_path, 'NewTxtPath': destination_path, 'Status': 'Success'})
        
    except Exception as e:
        processed_files_list.append({'OriginalPath': source_path, 'NewTxtPath': 'N/A', 'Status': f'Error: {e}'})

# Create an output DataFrame to pass results back to the Alteryx workflow (optional)
output_df = pd.DataFrame(processed_files_list)

# Write the output DataFrame to the second anchor (named '2' by default)
Alteryx.write(output_df, "#2")
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can have the code above.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 598px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/413993i0EB631AE75BE43C2/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tested it with a dummy workflow provided by someone in the community and it generates from .yxmd to .txt (but structured as .xml):&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 999px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/413994i7024E6D6B54167C6/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Nov 2025 06:13:16 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Inputs-from-multiple-alteryx-workflows/m-p/1422714#M352286</guid>
      <dc:creator>caltang</dc:creator>
      <dc:date>2025-11-19T06:13:16Z</dc:date>
    </item>
    <item>
      <title>Re: Inputs from multiple alteryx workflows</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Inputs-from-multiple-alteryx-workflows/m-p/1422724#M352291</link>
      <description>&lt;P&gt;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/291003"&gt;@caltang&lt;/a&gt;&amp;nbsp;That's so great, thank you so much&lt;/P&gt;</description>
      <pubDate>Wed, 19 Nov 2025 08:17:49 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Inputs-from-multiple-alteryx-workflows/m-p/1422724#M352291</guid>
      <dc:creator>Chaoued</dc:creator>
      <dc:date>2025-11-19T08:17:49Z</dc:date>
    </item>
  </channel>
</rss>

