Step 1: Choose Your LLM API and Obtain API Key. Select an LLM (e.g., OpenAI, Anthropic, Google Gemini AI). Sign up for their service and obtain your API key. Keep this key secure.
Step 2: Create a New Make.com Scenario and Add a Trigger. Start a new scenario in Make.com. Configure a trigger, such as a 'Webhook' to receive data, 'Schedule' to run at intervals, or a module from an app like 'Google Sheets' for new row data.
Step 3: Add an HTTP 'Make a request' Module. After your trigger, search for and add an 'HTTP' module. Select the 'Make a request' action. This module is your gateway to external AI APIs.
Step 4: Configure the HTTP Module for LLM API Call (Text Generation Example).
URL: Enter the LLM's API endpoint (e.g., for OpenAI Chat Completions: `https://api.openai.com/v1/chat/completions`).
Method: Set to 'POST'.
Headers: Add 'Authorization' with value 'Bearer Your_API_Key' (replace Your_API_Key with your actual key). Add 'Content-Type' with value 'application/json'.
Body Type: Select 'Raw'.
Content Type: Select 'JSON (application/json)'.
Request Content: Construct your JSON payload. For OpenAI, this might look like: {"model": "gpt-4o", "messages": [{"role": "user", "content": "Generate a 150-word blog post about the benefits of AI automation."}]}. Use Make.com's mapping tools to dynamically insert data from previous modules into the 'content' field.
Step 5: Configure the HTTP Module for LLM API Call (Summarization Example).
Follow Step 4's general setup. The key difference is the 'Request Content'.
For OpenAI, your prompt might be: {"model": "gpt-4o", "messages": [{"role": "user", "content": "Summarize the following text in 3 sentences: {{Text_from_previous_module}}."}]}. Map the actual text you want to summarize from a previous module.
Step 6: Parse the LLM's Response with a 'Parse JSON' Module. The HTTP module receives a raw JSON response. Add a 'Parse JSON' module after the HTTP call. Map the 'Data' output from the HTTP module to the 'JSON string' field. Generate a data structure from a sample successful API response to properly parse the output.
Step 7: Process the AI-Generated Output. Once parsed, the AI's generated text (e.g., choices[].message.content for OpenAI) becomes available as a mappable item. Use subsequent modules (e.g., 'Google Docs' to save content, 'Email' to send a draft, 'Slack' to post a summary) to utilize this output.
Step 8: Test and Refine Your Scenario. Run the scenario with sample data. Review the outputs in the execution history. Adjust your prompts, API settings, and subsequent modules as needed to achieve the desired results. Pay close attention to token limits and API rate limits.