In this lesson, we'll learn how to create a comprehensive content workflow by combining multiple apps we've built previously. This powerful feature allows us to streamline our content creation process and maximize efficiency.
Key Concepts:
- Deploying Apps as Functions: Moonlit Platform allows you to deploy your existing apps as functions, making them reusable within other apps.
- Creating a Mega-Workflow: By combining multiple apps, we can create a single, comprehensive workflow that handles multiple stages of content creation.
- Input/Output Mapping: Understanding how to map inputs and outputs between different app functions is crucial for creating complex workflows.
Steps to Create a Mega-Content Workflow:
1. Deploy Individual Apps as Functions
Navigate to the Share tab of each app you want to include, then click on the "Deploy as Function" button to make the app available for use in other workflows.
2. Create a New App:
Start with a blank template in the Studio Page dashboard. Add Deployed Functions:
Use the "Add Function" button to include your deployed apps (e.g., content brief generator, content writer, internal linking automator).
- Configure Function Inputs:
- Set up the inputs for each function, using the dot notation to access specific outputs from previous steps when necessary.
- Set Up Input Fields:
- Add text inputs for the required fields (e.g., sitemap URL and target keyword).
- Add Output Display:
- Include an output node to display the final result of your workflow.
Testing Your Mega-Workflow:
Use a sample keyword (e.g., "how to manage product teams") and a relevant sitemap URL. Run the workflow and review the results, which should include:
- A generated article with relevant content
- Naturally inserted internal links
- Statistics and quotes from thought leaders
Tips and Considerations:
- Moonlit apps have a maximum runtime of 1 hour, which is suitable for most complex pipelines.
- Review the output and identify areas for improvement (e.g., generic introductions).
- Consider using the Bulk Runs feature for scaling your workflow to handle thousands of keywords.