How to split Claude.AI output into different Airtable columns

Hi! I’ve created a prompt to create a meal plan and now I’d like to separate the output into different columns on Airtable to then automatically customize a pdf with the meal plan organized. How can I do this?

Here’s the bundle json of the output

[
{
“textResponse”: “I’ll create a comprehensive meal plan based on the provided information. Here’s the personalized nutrition plan:\n\n------------------------------\nDaily Meal Plan for Female Weight Loss\nTotal Daily Calories: 1,386\nTotal Daily Protein Goal: 104g (25-30% of total calories)\n\nMEAL PLAN BREAKDOWN:\n\n🍳 Breakfast (350-400 calories, 25-30g protein)\nOption 1: Quinoa Breakfast Bowl\n- 1/2 cup cooked quinoa\n- 2 egg whites + 1 whole egg scrambled\n- 1/4 avocado\n- Spinach and cherry tomatoes\n- Herbs and spices\n- Calories: 375 | Protein: 27g\n\nAlternative Options:\n1. Gluten-Free Chia Seed Pudding\n- Chia seeds\n- Almond milk\n- Plant-based protein powder\n- Berries\n- Sliced almonds\n\n2. Tofu Vegetable Scramble\n- Silken tofu\n- Mixed vegetables\n- Nutritional yeast\n- Herbs\n- Gluten-free toast\n\n🥗 Mid-Morning Snack (150-200 calories, 10-15g protein)\n- Apple slices with almond butter\n- Protein shake with pea protein\n- Roasted chickpeas\n\n🥗 Lunch (400-450 calories, 30-35g protein)\nGrilled Chicken Salad\n- Grilled chicken breast\n- Mixed greens\n- Roasted vegetables\n- Olive oil and lemon dressing\n- Pumpkin seeds\n\nAlternative Options:\n1. Tuna Salad Lettuce Wraps\n- Canned tuna\n- Gluten-free mayo\n- Chopped vegetables\n- Lettuce leaves\n\n2. Quinoa and Black Bean Bowl\n- Quinoa\n- Black beans\n- Roasted vegetables\n- Cilantro\n- Lime dressing\n\n🥜 Afternoon Snack (150-200 calories, 10-15g protein)\n- Protein smoothie\n- Handful of nuts\n- Vegetable sticks\n\n🍽️ Dinner (350-400 calories, 25-30g protein)\nBaked Salmon with Roasted Vegetables\n- Wild-caught salmon\n- Roasted Brussels sprouts\n- Sweet potato\n- Herbs and lemon\n- Olive oil\n\nAlternative Options:\n1. Turkey and Vegetable Stir-Fry\n- Lean ground turkey\n- Mixed vegetables\n- Gluten-free tamari sauce\n- Cauliflower rice\n\n2. Egg White Frittata\n- Egg whites\n- Spinach\n- Mushrooms\n- Herbs\n- Side salad\n\nHYDRATION & TIPS:\n- Drink 8-10 glasses of water daily\n- Herbal teas allowed\n- Avoid added sugars\n- Use herbs and spices for flavor\n- Measure portions carefully\n\nEXERCISE RECOMMENDATIONS:\n- 30-45 minutes moderate exercise 4-5 times/week\n- Mix cardio and strength training\n- Walking, swimming, yoga, resistance training\n- Focus on full-body workouts\n\nMEAL PREP SUGGESTIONS:\n- Prep proteins and vegetables in advance\n- Use glass containers for storage\n- Cook quinoa and proteins in batches\n- Chop vegetables weekly\n- Keep healthy snacks readily available\n\nNOTES:\n- Consult healthcare professional before starting\n- Listen to your body\n- Adjust portions if needed\n- Monitor energy levels and progress\n\nWould you like me to elaborate on any part of the meal plan?\n”,
“id”: “msg_01XsyKStbVzdm2F4vc1txV1g”,
“type”: “message”,
“role”: “assistant”,
“model”: “claude-3-5-haiku-20241022”,
“content”: [
{
“type”: “text”,
“text”: “I’ll create a comprehensive meal plan based on the provided information. Here’s the personalized nutrition plan:\n\n------------------------------\nDaily Meal Plan for Female Weight Loss\nTotal Daily Calories: 1,386\nTotal Daily Protein Goal: 104g (25-30% of total calories)\n\nMEAL PLAN BREAKDOWN:\n\n🍳 Breakfast (350-400 calories, 25-30g protein)\nOption 1: Quinoa Breakfast Bowl\n- 1/2 cup cooked quinoa\n- 2 egg whites + 1 whole egg scrambled\n- 1/4 avocado\n- Spinach and cherry tomatoes\n- Herbs and spices\n- Calories: 375 | Protein: 27g\n\nAlternative Options:\n1. Gluten-Free Chia Seed Pudding\n- Chia seeds\n- Almond milk\n- Plant-based protein powder\n- Berries\n- Sliced almonds\n\n2. Tofu Vegetable Scramble\n- Silken tofu\n- Mixed vegetables\n- Nutritional yeast\n- Herbs\n- Gluten-free toast\n\n🥗 Mid-Morning Snack (150-200 calories, 10-15g protein)\n- Apple slices with almond butter\n- Protein shake with pea protein\n- Roasted chickpeas\n\n🥗 Lunch (400-450 calories, 30-35g protein)\nGrilled Chicken Salad\n- Grilled chicken breast\n- Mixed greens\n- Roasted vegetables\n- Olive oil and lemon dressing\n- Pumpkin seeds\n\nAlternative Options:\n1. Tuna Salad Lettuce Wraps\n- Canned tuna\n- Gluten-free mayo\n- Chopped vegetables\n- Lettuce leaves\n\n2. Quinoa and Black Bean Bowl\n- Quinoa\n- Black beans\n- Roasted vegetables\n- Cilantro\n- Lime dressing\n\n🥜 Afternoon Snack (150-200 calories, 10-15g protein)\n- Protein smoothie\n- Handful of nuts\n- Vegetable sticks\n\n🍽️ Dinner (350-400 calories, 25-30g protein)\nBaked Salmon with Roasted Vegetables\n- Wild-caught salmon\n- Roasted Brussels sprouts\n- Sweet potato\n- Herbs and lemon\n- Olive oil\n\nAlternative Options:\n1. Turkey and Vegetable Stir-Fry\n- Lean ground turkey\n- Mixed vegetables\n- Gluten-free tamari sauce\n- Cauliflower rice\n\n2. Egg White Frittata\n- Egg whites\n- Spinach\n- Mushrooms\n- Herbs\n- Side salad\n\nHYDRATION & TIPS:\n- Drink 8-10 glasses of water daily\n- Herbal teas allowed\n- Avoid added sugars\n- Use herbs and spices for flavor\n- Measure portions carefully\n\nEXERCISE RECOMMENDATIONS:\n- 30-45 minutes moderate exercise 4-5 times/week\n- Mix cardio and strength training\n- Walking, swimming, yoga, resistance training\n- Focus on full-body workouts\n\nMEAL PREP SUGGESTIONS:\n- Prep proteins and vegetables in advance\n- Use glass containers for storage\n- Cook quinoa and proteins in batches\n- Chop vegetables weekly\n- Keep healthy snacks readily available\n\nNOTES:\n- Consult healthcare professional before starting\n- Listen to your body\n- Adjust portions if needed\n- Monitor energy levels and progress\n\nWould you like me to elaborate on any part of the meal plan?”
}
],
“stop_reason”: “end_turn”,
“stop_sequence”: null,
“usage”: {
“input_tokens”: 953,
“cache_creation_input_tokens”: 0,
“cache_read_input_tokens”: 0,
“output_tokens”: 852
}
}
]