An electronic device, comprising: at least one communication circuit; a speaker; a microphone; at least one processor operatively connected with the communication circuit, the speaker, and the microphone; and a memory operatively connected with the at least one processor, wherein the memory stores instructions which, when executed by the processor, cause the electronic device to: perform a call with a first external electronic device through the communication circuit; activate an intelligent service on the electronic device while the call is performed; when the intelligent service is activated, identify a voice input through the microphone while the call is performed and transmit data associated with the voice input to an external server through the communication circuit at least in part for automatic speech recognition, 'ASR', and/or natural language understanding, 'NLU', the voice input including information related to inviting the first external electronic device to a designated network; receive a path rule from the external server for performing a function of transmitting an invitation to access the designated network to the first external electronic device and to allow the first external electronic device to control at least one device in the network; analyze the path rule to identify an application appropriate for performing operations included in the path rule among applications installed on the electronic device; and control the at least one communication circuit to transmit the invitation to the first external electronic device via the identified application. at least one communication circuit; a speaker; a microphone; at least one processor operatively connected with the communication circuit, the speaker, and the microphone; and a memory operatively connected with the at least one processor, wherein the memory stores instructions which, when executed by the processor, cause the electronic device to: perform a call with a first external electronic device through the communication circuit; activate an intelligent service on the electronic device while the call is performed; when the intelligent service is activated, identify a voice input through the microphone while the call is performed and transmit data associated with the voice input to an external server through the communication circuit at least in part for automatic speech recognition, 'ASR', and/or natural language understanding, 'NLU', the voice input including information related to inviting the first external electronic device to a designated network; receive a path rule from the external server for performing a function of transmitting an invitation to access the designated network to the first external electronic device and to allow the first external electronic device to control at least one device in the network; analyze the path rule to identify an application appropriate for performing operations included in the path rule among applications installed on the electronic device; and control the at least one communication circuit to transmit the invitation to the first external electronic device via the identified application. perform a call with a first external electronic device through the communication circuit; activate an intelligent service on the electronic device while the call is performed; when the intelligent service is activated, identify a voice input through the microphone while the call is performed and transmit data associated with the voice input to an external server through the communication circuit at least in part for automatic speech recognition, 'ASR', and/or natural language understanding, 'NLU', the voice input including information related to inviting the first external electronic device to a designated network; receive a path rule from the external server for performing a function of transmitting an invitation to access the designated network to the first external electronic device and to allow the first external electronic device to control at least one device in the network; analyze the path rule to identify an application appropriate for performing operations included in the path rule among applications installed on the electronic device; and control the at least one communication circuit to transmit the invitation to the first external electronic device via the identified application.