Connect to Microsoft Excel no-code
Now, you can quickly exchange data with Excel spreadsheets and workflows
Before you begin
Prepare to connect to Microsoft
As part of the integration, you need the following:
- Allowlist the Next Matter domain
- Create a service account that will be used for connecting the integration
- Connect the integration in Next Matter (Automations library) and accept the required permissions
Read more about all the required steps.
Use the Excel integration
Get range
- Click Workflows > + Create new... > Create a new workflow and give your workflow a name. If a workflow is ready, click ... > Edit workflow.
- Click + Add step and select Integrations > Microsoft Excel.
- Click the step and click Configure integration.
- Select the Get range operation.
- Select or enter the required data (Drive, Workbook, Worksheet, and Range).

The performance depends on the amount of text in the cells and the number of rows. The bigger the amount of text and the more rows, the longer it might take for the step to complete.
- Select the data we should turn into variables for later reuse.
- Save your changes.
Make the step a source for the drop-down
If you get a range from a spreadsheet and want to use it as values in a drop-down form field, you must make the output compatible first.
- In the no-code step, add a variable and enter this as the value:
$.["Range Values"][*].values[0]
. - Add the drop-down form field, and use the data reference to the variable. This way the response values will populate the dropdown.
Add row
- Click Workflows > + Create new... > Create a new workflow and give your workflow a name. If a workflow is ready, click ... > Edit workflow.
- Click + Add step and select Integrations > Microsoft Excel.
- Click the step and click Configure integration.
- Select the Add row operation.
- Select the Drive ID and Workbook and the table to add the row to.
- Select the column and enter the value that should show in the new row in that column. You can add multiple columns and values.
- (Optional) Add variables. They are the response data you might want to reuse in later steps. For example, if you update this Excel row later in the workflow, you'll need to reference the row index of the row you're creating.
To have this data at hand later, enter the value$[0].index
as the variable and call itindex
. - Save your changes.
If the selected column doesn't exist in the worksheet when the step runs, the step will fail.
Update row
- Click Workflows > + Create new... > Create a new workflow and give your workflow a name. If a workflow is ready, click ... > Edit workflow.
- Click + Add step and select Integrations > Microsoft Excel.
- Click the step and click Configure integration.
- Select the Update table row operation.
- Select the Drive and Workbook and the table to update.
Note: The contents need to be formatted as a table.How to format data as a table
- In your Workbook, select your data.
- Select Home > Format as Table.
- Choose a style for your table.
- In the Create Table dialog box, set your cell range.
- Mark if your table has headers.
- Select OK.
If the selected column doesn't exist in the worksheet when the step runs, the step will fail.
- Specify Row index.
About row index:
- Row index differs from the fixed row number you see on the left-hand side of the Excel file.
The row index defines the position of the data in a data set. It is flexible and changes when rows are deleted, sorted, or inserted. - The first data row is indexed as 0. The data row is not the header.
Excel row number (table header) | Row index |
---|---|
Row 2 (first data row) | 0 |
Row 3 | 1 |
Row 4 (last row) | 2 |
Tip: If you've added a new row to this table earlier in the workflow you might have added $[0].index
as the variable to that step. You can reference this data in the Row index field.
- Add any variables you need (you'll be able to reuse variable data later on in the workflow).
- Save your changes.
Looking for inspiration?
See how this step can be used in a workflow.
Updated about 1 month ago