Skip to main content
All CollectionsAutomations
Can I use the xAI Grok model to analyze and modify my Airtable data?
Can I use the xAI Grok model to analyze and modify my Airtable data?

Use the XAI model to analyze and modify the data in your tables.

Updated over a week ago

The Analyze and Modify Airtable Data using the Grok Model allows you to use the xAI Grok model to process the data in your Airtable fields. This is an easily set-up automation that can be a powerful ally in understanding your data.

To process more than one record at a time, you'll need an xAI API Key. Follow the steps outlined in this article to add one to your workspace.

💡 Note: You can test the automation without an API key in test mode.

Setup parameters

  • Table selector: Choose the table containing the data you want to use. You can change this selection as needed.

  • xAI API Key selector: Select the API key.

  • Input field: Choose the field that contains the data you want to analyze or transform.

  • Additional Prompt Type (Optional): Set a static or dynamic prompt.

  • Additional Prompt (Optional): If a static prompt is selected, enter it here; if using a dynamic prompt, select the Airtable field with the prompt for each record.

  • Output Field: Choose the field where you want to store the result after processing the input field.

Processing Behavior

  • Skip: Records with an already populated output field won’t be processed.

  • Overwrite: All records will be processed, even if the output field is already populated.

Advanced

  • In the advanced section, you'll have access to advanced settings such as:

    • Output Max Tokens: The maximum number of tokens to generate in the response. The max allowed is 4000 and requires using your own xAI API key. Each token corresponds to ~= 4 characters (This is ignored if a personal API key is provided).

    • Output Temperature: The temperature of the model. Higher values will result in more creative responses, but also more mistakes.

    • Output Top P: The probability threshold for top-p sampling.

    • System Message: You can provide a system message to the model here.

  • In the run section, you can copy a formula to process one record at a time, run the automation as a script inside Airtable, schedule it to run every 15 minutes, 1 hour, or 24 hours, or trigger it using a Webhook.

Did this answer your question?