28.07.2025
36

How to setup Microsoft Dynamics 365 Update Аccount / Create Аccount

How to setup Microsoft Dynamics 365 Update Аccount/ Create Аccount

Integration will allow you to implement a account update scenario, and in case of an error, based on specific conditions, create new accounts in Microsoft Dynamics 365 based on data from other systems, and using the Logic If/Else section you can send error notifications to Slack or to email, for example Gmail. This will allow you to get fields with data in the Data Source and update / create a account in Microsoft Dynamics 365 using specified values and transfer data to other systems. This way you can automate the process of updating/creating a account and processing data as efficiently as possible using the different services you use.

Let's go through the entire setup of Microsoft Dynamics 365 Update Аccount / Create Аccount using Logic If/Else together.

Navigation:

Connecting Google Sheets as a Data Source:
1. What data can you get from Google Sheets?
2. How to connect your Google Sheets account to ApiX-Drive?
3. Select the table and sheet from which rows will be get.
4. An example of data for one of the rows in your table.

Connecting Microsoft Dynamics 365 as a Data Destination for updating accounts:
1. What will integration with Microsoft Dynamics 365 do?
2. How to connect your Microsoft Dynamics 365 account to ApiX-Drive?
3. How to configure the selected action to update account in Microsoft Dynamics 365?
4. Example of data that will be updated in your Microsoft Dynamics 365.

Setting up the Logic If/Else section - Microsoft Dynamics 365 to create a account:
1. What logical action will the Logic section perform?
2. How to set a specific condition for a selected action?
3. How to add Data Destination inside the Logic section?
4. What will integration with Microsoft Dynamics 365 do?
5. How to connect a Microsoft Dynamics 365 account in the Logic section?
6. How to configure data transfer to Microsoft Dynamics 365 in the selected action?
7. Example of data that will be sent to your Microsoft Dynamics 365.
8. Auto-update and update interval.

Answers to frequently asked questions:
1. How to set up Logic based on the result of data transmission of the Data Destination system, if the execution result condition is Successful or Unsuccessful?
2. What will be the final result for the given condition?

Setting up an additional section Logic If/Else - Slack:
1. What logical action will the additional Logic section perform?
2. How to set a specific condition for a selected action?
3. How to add Data Destination inside the Logic section?
4. What will integration with Slack do?
5. How to connect a Slack account in the Logic section?
6. How to configure data transfer to Slack in the selected action?
7. Example of data that will be sent to your Slack.

Setting Data SOURCE: Google Sheets

First, you need to create a new connection, click “Create connection”.

How to setup Microsoft Dynamics 365 Update Аccount/ Create Аccount | Creating connection

Select the system as the Data Source. In this case, you must specify Google Sheets.

How to setup Microsoft Dynamics 365 Update Аccount/ Create Аccount | System selection a Data Source

Next, you need to specify the action "Get ROWS (new)".

How to setup Microsoft Dynamics 365 Update Аccount/ Create Аccount | Action selection in the source

The next step is to select a Google Sheets account from which data will be get.
If there are no accounts connected to the system, click “Connect account”.

How to setup Microsoft Dynamics 365 Update Аccount / Create Аccount | Connecting account the source system

Select which account you want to connect to ApiX-Drive.

How to setup Microsoft Dynamics 365 Update Аccount/ Create Аccount | Selecting a Google account to connect

Give your permission to ApiX-Drive to work with this account.

How to setup Microsoft Dynamics 365 Update Аccount/ Create Аccount | Providing access

Click Select table and select the table from which you want to get data, click Select after selecting.

How to setup Microsoft Dynamics 365 Update Аccount/ Create Аccount | Table selection
How to setup Microsoft Dynamics 365 Update Аccount/ Create Аccount| Table selection

When the connected account appears in the "active accounts" list, select it.

Attention! If your account is on the "inactive accounts" list, check your access to this account!

How to setup Microsoft Dynamics 365 Update Аccount/ Create Аccount| Account selection

Next, specify the Google Sheets sheet where the data you need is located in the selected table. If necessary, you can change the Table(File).

How to setup Microsoft Dynamics 365 Update Аccount/ Create Аccount | Selecting a table and data sheet

If necessary, you can set up a Data Filter, or click "Continue" to skip this step.

To find out how to setup the Data Filter, follow the link: https://apix-drive.com/en/help/data-filter

How to setup Microsoft Dynamics 365 Update Аccount/ Create Аccount| Data filter

Data in a Google Sheets table, one row at a time.

How to setup Microsoft Dynamics 365 Update Аccount/ Create Аccount| Test data in Google Sheets

You can now see the test data in ApiX-Drive by one of the rows in your Google Sheets.

If you want to update your test data, click "Load Test Data from Google Sheets."

If you want to change the settings, click "Edit" and you will go back a step.

How to setup Microsoft Dynamics 365 Update Аccount/ Create Аccount| Test data

This completes the Data Source setup!

Now we connect the Data Destination section. To do this, click on “+” and select “DATA DESTINATION” from the list.

How to setup Microsoft Dynamics 365 Update Аccount / Create Аccount| Start setting up Data Destination

Setting Data Destination: Microsoft Dynamics 365 updating accounts

Select the system as Data Destination. In this case, you must specify Microsoft Dynamics 365.

How to setup Microsoft Dynamics 365 Update Аccount/ Create Аccount| System selection a Data Destination

Next, you need to specify the action “Update Аccount”.

How to setup Microsoft Dynamics 365 Update Аccount/ Create Аccount| Action selection

The next step is to select the Microsoft Dynamics 365 account in which the accounts will be updated.

If there are no accounts connected to the ApiX-Drive system, click “Connect account”.

How to setup Microsoft Dynamics 365 Update Аccount / Create Аccount | Account connection

Next, you need to enter the values for connecting to your Microsoft Dynamics 365 account, where:- Domain – the address of your Microsoft Dynamics 365 page.

How to setup Microsoft Dynamics 365 Update Аccount/ Create Аccount | Entering data

Copy and enter your Domain as shown in the screenshot.

How to setup Microsoft Dynamics 365 Update Аccount/ Create Аccount| Domain

Enter your authorization data for your Microsoft Dynamics 365 personal account.

How to setup Microsoft Dynamics 365 Update Аccount/ Create Аccount| Enter login
How to setup Microsoft Dynamics 365 Update Аccount/ Create Аccount| Enter password

Grant all permissions to ApiX-Drive to work with the account.

How to setup Microsoft Dynamics 365 Update Аccount/ Create Аccount| Granting permission

When the connected account appears in the "active accounts" list, select it.

Attention! If your account is on the "inactive accounts" list, check your access to this account!

How to setup Microsoft Dynamics 365 Update Аccount/ Create Аccount| Account selection

Next, you need to specify the account ID by which you will search for an existing account  in Microsoft Dynamics 365 for update. To do this, select ID in the search column.

How to setup Microsoft Dynamics 365 Update Аccount/ Create Аccount | Assigning Fields

In the "Search" field, you must specify the variable from the Data Source that contains the data to search for, i.e. the variable with which the field in the Data Destination will be compared. If a match is found, the account will be updated.

How to setup Microsoft Dynamics 365 Update Аccount/ Create Аccount| Assigning Fields

Next, you need to specify which fields and what data you want to add during the update.

To update account data, you must select to assign variables that are located in Google Sheets cells with Microsoft Dynamics 365 fields, to do this, click on the parameter and it will be assigned to the selected Microsoft Dynamics 365 field. When you select variables, you will be able to see what data is in the Google Sheets fields.

Please note that you can use not only Google Sheets variables, but also manually entered data.

Click "Continue" when you are finished assigning fields.

How to setup Microsoft Dynamics 365 Update Аccount/ Create Аccount| Assigning Fields
How to setup Microsoft Dynamics 365 Update Аccount/ Create Аccount| Assigning Fields
How to setup Microsoft Dynamics 365 Update Аccount/ Create Аccount| Assigning Fields
How to setup Microsoft Dynamics 365 Update Аccount/ Create Аccount| Assigning Fields
How to setup Microsoft Dynamics 365 Update Аccount/ Create Аccount| Assigning Fields
How to setup Microsoft Dynamics 365 Update Аccount/ Create Аccount| Assigning Fields
How to setup Microsoft Dynamics 365 Update Аccount/ Create Аccount| Assigning Fields
How to setup Microsoft Dynamics 365 Update Аccount/ Create Аccount| Assigning Fields
How to setup Microsoft Dynamics 365 Update Аccount/ Create Аccount| Assigning Fields
How to setup Microsoft Dynamics 365 Update Аccount/ Create Аccount| Assigning Fields
How to setup Microsoft Dynamics 365 Update Аccount/ Create Аccount| Assigning Fields
How to setup Microsoft Dynamics 365 Update Аccount/ Create Аccount| Assigning Fields
How to setup Microsoft Dynamics 365 Update Аccount/ Create Аccount| Assigning Fields

You can now see the test data that will be sent to Microsoft Dynamics 365 to update the specified account .

Click "Send test data to Microsoft Dynamics 365" and check if the account data has been updated.

If you are not satisfied with something, click “Edit” and go back a step.

Note! In Data Destination systems, two additional fields have been added: “Runtime errors” and “Execution result”, which can be used in the Logic section for conditions. In the example we will use these fields.

  1. Runtime errors - when assigning this field, the field will contain information about an error if it occurs in the Data Destination system. If there is no error and the data transfer is successful, this field will remain empty.
  2. Execution result - if the conditions are met, this field will return a logical value, 1 or 0, where:
    1 - means that the data transfer in the Data Destination section was Successful (for example: successfully added a new rows in Google Sheets, created or updated a lead/contact/deal in the CRM system, or sent a message to Slack)
    0 - means that the data transfer in the Data Destination section was not completed, that is, it was Unsuccessful (for example: an error occurred, a contact for update was not found, a lead/deal/contact was not created in the CRM system, a message/email was not sent)

How to setup Microsoft Dynamics 365 Update Аccount/ Create Аccount| Test data
How to setup Microsoft Dynamics 365 Update Аccount/ Create Аccount| Test data
How to setup Microsoft Dynamics 365 Update Аccount/ Create Аccount| Test data
How to setup Microsoft Dynamics 365 Update Аccount/ Create Аccount| Test data

This completes the setup for Data Destination Microsoft Dynamics 365 updating accounts!

Now we connect the Logic section. To do this, click on “+” and select “LOGIC If/Else” from the list.

How to setup Microsoft Dynamics 365 Update Аccount / Create Аccount | Start setting up the Logic section

Setting LOGIC IF/ELSE section

In the "Logical action" field, select the "If" action.
In the "Your comment" field, you can provide additional information or an explanation for a specific condition for the If action.

How to setup Microsoft Dynamics 365 Update Аccount / Create Аccount | Action selection

Next, you need to configure a specific condition, when fulfilled, data will be transferred in the Logic section.
- Parameter - this field contains all the fields from the previous Data Source and Data Destination sections that can be used to configure conditions. In our example, we use the field from the Data Destination "Execution Result".
- Operation - in this field you must select the action that will be applied for a specific condition. In this example we select "Equals".
- Value - in this field you must select “Successfully” if you want the condition to be met when the Data Destination section is successfully triggered, or select “Unsuccessful” if an error occurs in the Data Destination section or for some other reason the data is not transmitted. In this case we select "Unsuccessful".

How to setup Microsoft Dynamics 365 Update Аccount / Create Аccount | Assigning Fields
How to setup Microsoft Dynamics 365 Update Аccount / Create Аccount | Assigning Fields
How to setup Microsoft Dynamics 365 Update Аccount / Create Аccount | Assigning Fields

Also, you can add additional conditions using the operators "AND", "OR", if you need to specify several parameters in one condition. In this case, this is not necessary, so click “Continue”.

How to setup Microsoft Dynamics 365 Update Аccount / Create Аccount | Additional conditions "AND", "OR"

At the Test stage, you will see Logical result = 1 - this means that the setting of the action If for a specific condition is satisfied.

How to setup Microsoft Dynamics 365 Update Аccount / Create Аccount | Test data

Next, you need to indicate what action the Logic section will perform,
when certain conditions are met, that is, what is the next data transfer algorithm and to which system.

In this example we use the DATA DESTINATION section.

Inside the Logic section we connect the Data Destination system. To do this, click on “+” and select “DATA DESTINATION” from the list.

How to setup Microsoft Dynamics 365 Update Аccount / Create Аccount| Start setting up Data Destination inside the Logic section

Setting up Data DESTINATION inside the LOGIC IF/ELSE section: Microsoft Dynamics 365 creating accounts

Select the system as Data Destination. In this example, we use Microsoft Dynamics 365.

How to setup Microsoft Dynamics 365 Update Аccount / Create Аccount | System selection a Data Destination

Next, you need to specify the “Create ACCOUNT” action.

How to setup Microsoft Dynamics 365 Update Аccount / Create Аccount| Action selection

The next step is to select a Microsoft Dynamics 365 account into which data will be transferred to create accounts if the account  update is unsuccessful.

Select from the "active accounts" list the same Microsoft Dynamics 365 account that was connected in the first section Data Destination to update accounts.

How to setup Microsoft Dynamics 365 Update Аccount/ Create Аccount | Selecting a Destination account

Next, select the necessary data that is in the Google Sheets cells, click on the parameter and it will be assigned to the selected Microsoft Dynamics 365 field. When you select variables, you will be able to see what data is in the Google Sheets fields.

Please note that you can use not only Google Sheets variables, but also manually entered data.

Click "Edit and Continue" when you are finished assigning fields.

How to setup Microsoft Dynamics 365 Update Аccount / Create Аccount | Assigning Fields
How to setup Microsoft Dynamics 365 Update Аccount / Create Аccount | Assigning Fields
How to setup Microsoft Dynamics 365 Update Аccount / Create Аccount | Assigning Fields
How to setup Microsoft Dynamics 365 Update Аccount / Create Аccount | Assigning Fields
How to setup Microsoft Dynamics 365 Update Аccount / Create Аccount | Assigning Fields
How to setup Microsoft Dynamics 365 Update Аccount / Create Аccount | Assigning Fields
How to setup Microsoft Dynamics 365 Update Аccount / Create Аccount | Assigning Fields
How to setup Microsoft Dynamics 365 Update Аccount / Create Аccount | Assigning Fields
How to setup Microsoft Dynamics 365 Update Аccount / Create Аccount | Assigning Fields
How to setup Microsoft Dynamics 365 Update Аccount / Create Аccount | Assigning Fields
How to setup Microsoft Dynamics 365 Update Аccount / Create Аccount | Assigning Fields
How to setup Microsoft Dynamics 365 Update Аccount / Create Аccount | Assigning Fields
How to setup Microsoft Dynamics 365 Update Аccount / Create Аccount | Assigning Fields
How to setup Microsoft Dynamics 365 Update Аccount / Create Аccount | Assigning Fields

Now you see the test data that will be sent to Microsoft Dynamics 365 to create a new account.

If you want to send test data to Microsoft Dynamics 365 in order to check the correctness of the settings, click "Send test data to Microsoft Dynamics 365" and go to your Microsoft Dynamics 365 to check the result.

If you are not satisfied with something, click “Edit” and go back a step.

How to setup Microsoft Dynamics 365 Update Аccount / Create Аccount | Test data
How to setup Microsoft Dynamics 365 Update Аccount / Create Аccount | Test data
How to setup Microsoft Dynamics 365 Update Аccount / Create Аccount | Test data
How to setup Microsoft Dynamics 365 Update Аccount / Create Аccount | Test data

This completes the setup for Microsoft Dynamics 365 Data Destination and account creation!

As a result, we have the following condition: When get data from the Data Source system, we transfer the data to Microsoft Dynamics 365 to update the account . If the account is not updated, that is, an error occurred or for some other reason the update failed, then we transfer the data to Microsoft Dynamics 365 to create a account.

Now you can start choosing the update interval and enabling auto-update.

To do this, click "Enable update".

How to setup Microsoft Dynamics 365 Update Аccount / Create Аccount | Completing setup

On the main screen, click on the gear icon to select the required update interval or setup scheduled launch. To start the connection by time, select scheduled start and specify the desired time for the connection update will be started, or add several options at once when you need the connection will be started.

Attention! In order for the scheduled launch to work at the specified time, the interval between the current time and the specified time must be more than 5 minutes. For example, you select the time 12:10 and the current time is 12:08 - in this case, the automatic update of the connection will occur at 12:10 the next day. If you select the time 12:20 and the current time is 12:13 - the auto-update of the connection will work today and then every day at 12:20.

To make the current connection transmit data only after another connection, check the box "Update connection only after start other connection" and specify the connection after which the current connection will be started.      

How to setup Microsoft Dynamics 365 Update Аccount / Create Аccount | Update interval
How to setup Microsoft Dynamics 365 Update Аccount  / Create Аccount| Update Priority

To enable auto-update, switch the slider to the position as shown in the picture.

To force a connection, click on the arrow icon.

How to setup Microsoft Dynamics 365 Update Аccount/ Create Аccount| Enabling auto-update

This completes the Microsoft Dynamics 365 Update Аccount / Create Аccount setup! See how simple it is!?

Now you don’t have to worry, ApiX-Drive will do everything on its own!

Note! This is not all the functionality of Logic If/Else. You can use the "Execution Result" parameter from the Logic If/Else section to send an additional notification to Slack or to a mail server, for example, in Gmail, and be aware of errors that occur in the Data Destination system if an entity has not been created in it.

Setting an additional LOGIC IF/ELSE section

To do this, you need to add another Logic section in the connection and make another condition setting. To do this, click on “+” and select “LOGIC IF/ELSE” from the list.

Also, to add and configure new sections, you must turn off automatic connection updates, the slider must be in the gray position.

How to setup Microsoft Dynamics 365 Update Аccount/ Create Аccount | Start setting up the additional Logic section

In the "Logical action" field, select the "If" action.
In the "Your comment" field, you can provide additional information or an explanation for a specific condition for the If action.

How to setup Microsoft Dynamics 365 Update Аccount / Create Аccount | Action selection
How to setup Microsoft Dynamics 365 Update Аccount / Create Аccount | Action selection

Next, you need to configure a specific condition, when fulfilled, data will be transferred in the Logic section.
- Parameter - this field contains all the fields from the previous Data Source and Data Destination sections that can be used to configure conditions. In our example, we use the field from the Microsoft Dynamics 365 Аccount Creation Data Destination section - “Execution Result”.
- Operation - in this field you must select the action that will be applied for a specific condition. In this example we select "Equals".
- Value - in this field you must select “Successfully” if you want the condition to be met when the Data Destination section is successfully triggered, or select “Unsuccessful” if an error occurs in the Data Destination section or for some other reason the data is not transmitted. In this case we select "Unsuccessful".

How to setup Microsoft Dynamics 365 Update Аccount / Create Аccount | Assigning Fields
How to setup Microsoft Dynamics 365 Update Аccount/ Create Аccount | Assigning Fields

Also, you can add additional conditions using the operators "AND", "OR". In this case, this is not necessary, so click “Continue”.

How to setup Microsoft Dynamics 365 Update Аccount/ Create Аccount | Additional conditions "AND", "OR"

At the Test stage, you will see Logical result = 1 - this means that the setting of the action If for a specific condition is satisfied.

How to setup Microsoft Dynamics 365 Update Аccount/ Create Аccount | Test data
How to setup Microsoft Dynamics 365 Update Аccount / Create Аccount| Test data

Next, you need to indicate what action the Logic section will perform,
when certain conditions are met, that is, what is the next data transfer algorithm and to which system.

In this example we use the DATA DESTINATION section.

Inside the Logic section we connect the Data Destination system. To do this, click on “+” and select “DATA DESTINATION” from the list.

How to setup Microsoft Dynamics 365 Update Аccount/ Create Аccount | Start setting up Slack Data Destination inside the Logic section

Setting Data DESTINATION inside the additional LOGIC IF/ELSE section: Slack

Select the system as Data Destination. In this example, we choose Slack.

How to setup Microsoft Dynamics 365 Update Аccount/ Create Аccount | Selecting a Data Destination system

Next, you need to specify an action, for example, "Send MASSAGES (channel)".

How to setup Microsoft Dynamics 365 Update Аccount / Create Аccount | Action selection in the Data Destination

The next step is to select the Slack account to which messages will be sent.

If there are no accounts connected to the ApiX-Drive system, click “Connect account”.

How to setup Microsoft Dynamics 365 Update Аccount / Create Аccount | Account Connections a Data Destination system

To connect your Slack account, follow the sequence:

1. Sign in to your Slack workspace
2. Enter your Slack username and password
3. Click "Allow" to grant ApiX-Drive permission to work with your Slack
4. After authorization, select the connected Slack account and click "Continue"

How to setup Microsoft Dynamics 365 Update Аccount / Create Аccount | Choice of workspace
How to setup Microsoft Dynamics 365 Update Аccount / Create Аccount | Entering data
How to setup Microsoft Dynamics 365 Update Аccount / Create Аccount | Granting permission
How to setup Microsoft Dynamics 365 Update Аccount / Create Аccount | Account selection

Now, you need to select a channel and create a message from the data that will be sent to Slack.

Expand the drop-down list and select the required indicators.

If necessary, write any constant variables in a field, or select the desired variable from the drop-down list to build a message, as shown in the example.

If you need to send messages to multiple channels, then create another connection and select a different channel.

How to setup Microsoft Dynamics 365 Update Аccount / Create Аccount | Formation of a message
How to setup Microsoft Dynamics 365 Update Аccount / Create Аccount | Formation of a message

Also, in this example, we will add to the text of the message information about the error that occurred in Data Destination and a link to the connection in which there was unsuccessful data transfer; for this we will assign the “Runtime Errors” field from the Microsoft Dynamics 365 Data Destination section creating account.

Note! The "Runtime errors" field at the Test stage will be empty, since it is filled only when auto-updating the connection is running and if the Data Destination system contained an error text.

In order to get the connection link , log into the connection and copy part of the connection link from the address bar, as shown in the screenshot:

How to setup Microsoft Dynamics 365 Update Аccount / Create Аccount | Contact link

When the message is generated, click "Edit and continue".

How to setup Microsoft Dynamics 365 Update Аccount / Create Аccount | Adding fields with errors
How to setup Microsoft Dynamics 365 Update Аccount / Create Аccount | Adding fields with errors

Now you can see the test data of what your message will look like.

To check the correctness of the settings - click "Send test data to Slack" and go to your Slack to check the result.

If something does not suit you - click "Edit" and go back one step.

If everything suits you - click "Next" for further settings.

How to setup Microsoft Dynamics 365 Update Аccount / Create Аccount | Test data
How to setup Microsoft Dynamics 365 Update Аccount / Create Аccount | Test data
How to setup Microsoft Dynamics 365 Update Аccount/ Create Аccount | Test data

This completes the setup for Slack Data Destination!

As a result, we have the following condition: When get data from the Data Source system, we transfer the data to Microsoft Dynamics 365 to update the account. If the account is not updated, that is, an error occurred or for some other reason the update failed, then we transfer the data to Microsoft Dynamics 365 to create a account . In the event that the account will not be created in Microsoft Dynamics 365 due to an error or for some other reason it will not be possible to create a account , then we send a message to the connected Slack account with data from the Data Source, as well as information about the error in Microsoft Dynamics 365 Data Destination creating accounts according to the current connection.