Introduction

Nanocatalysis has brought a revolution in the field of catalysis and plays a crucial role in green organic synthesis. This emerging catalytic technique possesses several merits over conventional catalysts, such as a high surface-to-volume ratio, great catalytic performance, high selectivity, and stability. A fundamental approach to achieve catalysts with exceptional features is the production of heterogeneous nanocatalysts. Although the catalytic activity of homogeneous nanocatalysts is high, their complete separation from the reaction medium is not easy and can be troublesome, especially in the pharmaceutical industry. However, heterogeneous nanocatalysts can be rapidly and readily isolated from the reaction mixture and reused without any loss in amount during the purification process [1,2,3,4].

Owing to the nanoscale size of the nanocatalysts, their isolation from the reaction mixture and reuse them are challenging tasks, which can lead to waste of a large amount of catalyst. To overcome this issue, employing magnetic nanoparticles (MNPs) or nanosupports is the best solution due to easy isolation by magnetic separation. Fe3O4 nanoparticles (NPs) are at the highest point of attention for their use as nanocatalysts due to magnetic fractures (superparamagnetism), non-toxicity, great surface area, biocompatibility, oxidative stability, and easy synthesis and handling. These NPs have been widely employed in catalysis, biomedicine, magnetic resonance imaging (MRI), separation technology, and the environment sector. The co-precipitation process using Fe (II) and Fe (III) ions is the most common procedure to synthesize Fe3O4 magnetic (NPs) [5,6,7]. Despite all of the significant features of Fe3O4 (NPs), their dispersion in the reaction mixture is limited, and they accumulate to large clusters, which leads to a decrease in catalytic efficiency. Hence, covering these NPs with various materials, including natural polymers such as polysaccharides, prevents their aggregation. Natural polymers are the best choice to cover NPs and lead to green nanoscale composites as new green nanocatalysts for promoting a wide range of organic reactions [7]. On the other side, green chemistry, as an emerging field of sustainable sciences, as well as technologies, assists in the usage of renewable feedstocks as sustainable resources. Therefore, developing novel heterogeneous nanocatalysts based on biodegradable and green supports has attracted considerable attention due to increasing concern about environmental pollution. Chitosan, as a safe and biologically renewable material with attractive properties including biocompatibility, biodegradability, antibacterial properties, non-toxicity, non-antigenicity, bioactivity, readly availability, and inexpensiveness, has been used in various domains such as medicine, pharmaceutical pharmaceutics, as well as industry. This biopolymer is appropriate for designing new functionalized nanocomposites [8,9,10].

More than 90% of the active ingredients used in the pharmaceutical industry, phytochemistry, and veterinary medicine are heterocyclic compounds. Spiro heterocycles with distinct biological activities play a superior role in modern organic and medicinal chemistry, among which spirocyclic oxindoles are promising candidates for drug discovery. This type of compound exists in natural products and biologically active molecules and constitutes both oxindoles and other heterocyclic moieties simultaneously. Anti-inflammatory, anti-oxidant, anti-cancer, anti-microbial, and anti-tubercular activity are demonstrated by spirooxindole systems. On the other hand, spirochromenes are produced when C-3 in spirooxindoles is shared with the pyran ring, which is an oxygen-containing heterocyclic fused with the spirooxindole ring system. These compounds display valuable properties including anti-cancer, anti-anaphylactic, anti-coagulant, diuretic, and spasmolytic performances [11,12,13,14,15,16,17]. The biological potential of these spiro-based compounds motivates researchers to invent efficient chemical processes. Figure 1 displays the chemical compositions of a few physiologically active spirooxindoles, including Spirotryprostatin A (cell cycle regulator), Pteropodine (rat muscarinic receptor), and Ciapargamin (antimalarial drug) [18].

Fig. 1
figure 1

Examples of spirooxindole compounds with biologically active properties

Recently, heterocyclic systems have been produced through a three-component condensation reaction using malononitrile, isatin, and enolizable CH-acids in the presence of various catalysts. Multi-component reactions (MCRs) are dominant as platforms for the sustainable synthesis of heterocyclic compounds due to their green chemistry features, environmental friendliness, operational simplicity, inherent atom economy, and high selectivity [19,20,21,22,23]. Various catalytic systems have been employed for the synthesis of spiro heterocycles like urea, potassium phthalimide, amino acids, biopolymers, organic bases, inorganic salts, metal oxides, and ionic liquids [24,25,26,27]. Aluminum sulfate–sulfuric acid [28], dabco-based ionic liquids [29], Fe2O3/VO2 [30], SiO2@g-C3N4 nanocomposite [31], copper ferrite nanoparticles [32], nano-cellulose [33], collagen-Fe3O4 [34], cellulose/Ag nanocomposite [35], nano MgO [36], tris-hydroxymethylamino methane (THAM) [11], TiO2 nanoparticles [37], Bi2Fe4O9 (NPs) [38], (Fe3O4/COS@β-CD-SO3H nanoparticles) [39], CoFe2O4@SiO2 [40], InCl3 [41], poly(ethylene glycol) [42, 43], triethylbenzylammonium chloride (TEBA) [44], ammonium salt [45], TBAB [46], L-proline [47, 48], oxalic acid dihydrate: proline LTTM [49], Silica-bonded N-propyl sulfamic acid [50] are the examples of these catalytic systems.

Current research findings revealed the uses of chitosan and Fe3O4 nanoparticles as nanomagnetic catalysts for the preparation of various heterocyclics. Fe3O4@chitosan-tannic acid nanocomposite was employed as a heterogeneous nanocatalyst for the fabrication of pyranopyrazoles [7]. Some of the advantages of this study were economically affordable, eco-friendliness, mild reaction conditions, and high yields. In another study, nano-Fe 3O4@chitosan as a superior and retrievable heterogeneous catalyst was designed for benzopyranophenazines preparation [51]. Maleki and co-workers noted a synthetic protocol for the synthesis of benzimidazoles/benzodiazepines in the presence of reusable Fe3O4/chitosan nanocatalyst [52]. Also, Fe3O4/chitosan as a green nanocatalyst was applied to synthesize 2,3-dihydroquinazolin-4(1H)-ones [53]. Furthermore, benzimidazolo[2,3-b] quinazolinone derivatives with excellent yields were produced by Fe3O4@chitosan as an eco-friendly and reusable nanocatalyst [9].

Sonochemistry has attracted significant interest in chemistry study fields during the last few decades. Sonochemical synthesis, as a major and environmentally friendly strategy, has numerous advantageous effects in synthetic organic chemistry, which has led organic chemists to focus on its usage for synthesizing organic chemicals [54]. Therefore, instead of utilizing heat as a source of energy, ultrasonic irradiation is an alternative. Ultrasound-aided reactions progress through the phenomena of acoustic cavitation, which involves emergence, expansion, and dissolution of bubbles in the liquid medium [55].

Our main concern is to develop a sustainable nanocatalyzed synthetic methodology for preparing spirooxindoles and spirochromenes compounds. Considering the principles of green chemistry, we have decided to utilize Fe3O4@chitosan as a green, biocompatible, heterogeneous nanomagnetic catalyst, which can be easily recovered magnetically, under solvent-free and ultrasonic conditions for synthesizing these classes of compounds.

Results and discussion

Magnetic Fe3O4 nanoparticles (NPs) were generated by coprecipitation procedure modification. Coating of Fe3O4 (NPs) with chitosan was carried out by modifying the described procedures in the literature [56, 57]. Chitosan dissolves in an acidic solution through protonation and conversion to polycations, which is dependent on the pH of the solution. Chitosan is precipitated onto the surface of Fe3O4 to create Fe3O4@chitosan nanoparticles as support when the solution’s pH is changed to pH = 14 by adding an aqueous solution of NaOH (Scheme 1). This occurs due to the strong hydrogen bonding between protonated chitosan and negatively charged Fe3O4 nanoparticles.

Scheme 1
scheme 1

Fe3O4@chitosan preparation schematic diagram

Then nano-Fe3O4@chitosan were characterized by Fourier transform infrared (FT-IR), thermogravimetric analysis (TGA), X-ray diffraction (XRD), scanning electron microscopy(SEM), dynamic light scattering, and (DLS) and vibrating sample magnetometer (VSM). The XRD patterns of pure Fe3O4 and Fe3O4@chitosan nanocatalysts are presented in Fig. 2. As can be observed, the Fe3O4 (NPs) exhibit a highly crystalline cubic spinel structure, which agrees very well with the conventional XRD spectrum for Fe3O4 (cubic phase) [57]. The characteristic peaks for pure Fe3O4 NPs were observed at 2θ = 30.4°, 35.5°, 43.4°, 53.8°, 57.3°, and 62.9°. These peaks were labeled by their respective indices (220), (311), (400), (422), (511), and (440). The identical characteristic peaks of Fe3O4 are seen in the XRD spectrum after being coated with chitosan, which is evidence for maintaining the crystalline structure and successful coating of Fe3O4 nanoparticles.

Fig. 2
figure 2

XRD pattern of pure Fe3O4@chitosan nanoparticles and pure Fe3O4

The FT-IR spectra of Fe3O4@chitosan, Fe3O4 (NPs), and chitosan appear in Fig. 3. The FT-IR spectrum of Fe3O4 (NPs) exhibits the characteristic peaks at 580 cm−1 (Fe–O) and 3423 cm−1 (O–H stretching) (Fig. 3a). The FT-IR spectrum of chitosan (Fig. 3b) contains characteristics: (a) N–H stretching and bending bands at 3440 and 1635, cm−1, (b) O–H and C–O stretching bands of primary alcoholic groups at 2854 and 1319 cm−1, and (c) C–H stretching band at 2923 cm−1. The presence of all of the characteristic bands of Fe3O4 nanoparticles and chitosan (with slight shifts) in the FT-IR spectrum Fe3O4 wrapped with chitosan is another indication for Fe3O4@chitosan production (Fig. 3c).

Fig. 3
figure 3

FT-IR spectra of Fe3O4 a, chitosan b, and Fe3O4@chitosan c

Thermogravimetric analysis was performed to determination of the loading amount of the nanocatalyst and evaluate the material’s thermal stability. As seen in Fig. 4, the thermogravimetric (TG) data have been reported in the form of TG% and TG mg, differential thermogravimetric (DTG), and differential thermogravimetric analysis (DTA). This study exhibits three weight loss stages. The first stage, which occurs at 25 °C–200 °C, is related to the loss of humidity and solvent stuck in the nanocatalyst. In the second stage at 200 °C [58], the decomposition of chitosan is observed which is equal to 0.30 mg weight loss (10%). The third decomposition stage appeared at 380 °C–480 °C because of the decomposition of Fe3O4 which is equal to 0.2 mg weight loss (3.3%) and other moieties were related to ionization polymers. These results also confirm the successful coating of the surface of Fe3O4 with chitosan.

Fig. 4
figure 4

TG (blue), TG % (pink), DTG (red), and DTA (green) data of Fe3O4@chitosan

Fe3O4 and Fe3O4@chitosan morphology and particle size were monitored by SEM, as shown in Fig. 5. These images demonstrate that Fe3O4 NPs with 10–12 nm particle size (Fig. 5a) and Fe3O4@chitosan particles with the size of 30–35 nm have retained the morphological properties and size of Fe3O4 nanoparticles, which is an indication of uniformly wrapping of Fe3O4 NPs with chitosan (Fig. 5b). The average size of the nanoparticle was characterized by dynamic light scattering (DLS) and confirmed the ~ 30 nm as the approximate average size (Fig. 6).

Fig. 5
figure 5

SEM images of pure Fe3O4 a and Fe3O4@chitosan nanoparticle b

Fig. 6
figure 6

DLS image of Fe3O4@chitosan (NPs)

Fe3O4@chitosan particles were tested by VSM, and the result shows a magnetic field of up to 8000 Oe at a temperature of 300 K (Fig. 7). According to magnetic experiments, the saturation magnetization of nano-Fe3O4 and nano-Fe3O4@chitosan are 51.5 and 28.2 emu g−1, respectively (Fig. 7). These findings indicate that magnetism behavior remained even after coating and functionalization.

Fig. 7
figure 7

VSM image of Fe3O4 a and Fe3O4@chitosan b

In addition, the elemental analysis of the Fe3O4@chitosan demonstrated C: 6.23%, N: 1.06%, and H: 0.82% is equal to 10% loading chitosan, which is in good agreement with the results provided by TGA analysis.

Having prepared and characterized the Fe3O4@chitosan nanocatalyst, we initially optimized the reaction parameters. In the presence of a catalytic concentration of Fe3O4@chitosan (30 mg), the reaction between isatin, dimedone, and malononitrile was selected as a model reaction (Scheme 2).

Scheme 2
scheme 2

Model reaction for the synthesis of spirooxindole derivatives

The effects of temperature, catalyst concentration, and solvent were investigated to determine the most efficient conditions and the optimal reaction parameters. The corresponding data are presented in Table 1.

Table 1 The reaction parameters optimization for the synthesis of spirooxindole 4a a

To verify the role of Fe3O4@chitosan NPs in the preparation of the corresponding spirooxindole, the model reaction was evaluated in the presence of chitosan, Fe3O4, and also in the absence of the nanocatalyst. The spirooxindole 4a was obtained in 68% after half an hour and 28% in four hours in the presence of chitosan and Fe3O4, respectively (Table 2, entries 14 and 15) but the desired product was not formed in the lack of catalyst (Table 2, entry 16). The efficiency of different amounts of catalyst was tested and it was clarified that the best result is provided when 0.05 g of Fe3O4@chitosan is loaded (Table 2, entry 12), and employing a higher amount does not produce any enhancement in the activity of the catalyst (Table 2, entry 13) and lower amounts have resulted in lower yields (Table 2, entries 8–11). Therefore, the optimized reaction condition is the usage of 0.05 g of Fe3O4@chitosan at room temperature under solvent-free media.

Table 2 Optimization of three-component coupling reaction among isatin, dimedone, and malononitrile for synthesis of spirooxindole 4a under ultrasonic conditiona

To explore the effect of ultrasonic technique on the catalytic activity of Fe3O4@chitosan in the preparation of 2-amino-7,7-dimethyl-2′,5-dioxo-5,6,7,8-tetrahydrospiro [chromene-4,3′-indoline]-3-carbonitrile, the reaction among isatin, malononitrile and dimedone was selected as the model reaction, then solvent and catalyst effects were studied.

First, the reaction was examined in water in the absence of the nanocatalyst. Monitoring the reaction with TLC showed all of the starting material remained intact after 8 h at room temperature under ultrasonic conditions (Table 2, entry 1). Then, the reaction was performed in H2O, EtOH, and different mixtures of EtOH and H2O at room temperature under ultrasonic conditions in the presence of 250 mg Fe3O4@chitosan (Table 2, Entries 2–6). When the model reaction was performed in EtOH after 3.5 h, Fe3O4@chitosan demonstrated the highest efficiency (Table 2, entry 3). The similar results were also obtained in H2O: EtOH (1:1) and H2O: EtOH (4:1) although the reaction took place in longer reaction time (5 h) in these mixtures (Table 2, entries 4 and 5). Regarding the economic and environmental issues, the mixture of H2O: EtOH (4:1) was chosen as the best solvent. Then, the effect of the nanocatalyst amount was studied. When the lower amount of the nanocatalyst was used, the reaction was completed in a longer reaction time (Table 2, entry 7). Increasing the nanocatalyst concentration has no significant effects on the reaction conditions (Table 2, entry 6).

To determine the scope and versatility of Fe3O4@chitosan NPs at room temperature under solvent-free and ultrasonic conditions for the production of spirooxindoles, a variety of isatins and C–H acidic compounds such as dimedone, 1,3-cyclohexadione, barbituric acid, N,N-dimethyl barbituric acid, thiobarbituric acid, 6-chloro-4- hydroxycoumarin, 4-hydroxycoumarin, and 2-hydroxynaphthalene-1,4-dione (2a-2 h) were treated with malononitrile or ethyl 2-cyanoacetate in the presence of Fe3O4@chitosan (Table 3).

Having obtained excellent results, we extended the generality of this protocol for the one-pot three-component synthesis of spirochromenes with the replacement of isatin with acenaphthylene-1,2-dione (5) and ninhydrin (5′) under similar reaction conditions. All of the experiments were conducted with excellent yields (Table 4).

Table 3 Synthesis of spirooxindole derivatives
Table 4 Synthesis of spirochromene derivatives.a

Scheme 3 illustrates the suggested mechanism for the synthesis of spirooxindole derivatives (such as 4a) utilizing Fe3O4@chitosan as a nanocatalyst. Initially, the amino groups on the surface of Fe3O4@chitosan are protonated by the malononitrile to provide the corresponding carbanion (7). Then, the produced carbanion attacks to the carbonyl group of isatin, which is protonated by the ammonium salt of chitosan. This step was treated as a fast Knoevenagel condensation. Next, the compound (8) is produced through several steps including dehydration, Michael reaction on α, β-unsaturated nitrile by the corresponding enol in the reaction mixture, and intramolecular nucleophilic addition on the nitrile groups. Finally, the desired product (4a) is produced by the tautomerization of the compound (9) (Table 3).

Scheme 3
scheme 3

Fe3O4@chitosan as a heterogeneous catalyst for the synthesis of 4a: a probable mechanism nanocatalyst

When solid catalysts are used in chemical reactions, the reusability and recovery of the nanocatalyst become crucial factors. Isatin, dimedone, and malononitrile were used in a model reaction with the magnetic nanocatalyst Fe3O4@chitosan NPs for the recycling investigation. The reactivity of the nanocatalyst was not significantly altered after seven cycles of recycling, and the yield decreased only slightly with each additional cycle (Fig. 8).

Fig. 8
figure 8

Recyclability of Fe3O4@chitosan in the synthesis of spirooxindole derivatives

Following the seven-time runs, the recovered Fe3O4@chitosan nanocatalyst was once again characterized through FT-IR, XRD, DLS, and SEM (Figs. 9, 10, 11 and 12). According to Fig. 9, the characteristic peaks at 586 cm−1 (Fe–O), 3440 cm−1 (O–H and N–H stretching) 1519 cm−1 (C–O stretching), and 2939 cm−1 (C–H stretching) are represented in appropriate condition. Figure 10 demonstrates that the crystalline structure of Fe3O4 nanoparticles is maintained after seven-time recycling. Due to the number of NP aggregations throughout the recycling process, the size of NPs was exhibited at 26–38 nm by DLS analysis (Fig. 11). Finally, the SEM image showed that the size of NPs was not changed after several recycling (Fig. 12). These investigations showed that the Fe3O4@chitosan NPs are a durable and effective catalyst for multicomponent reactions.

Fig. 9
figure 9

FT-IR spectrum after seven-time recycling

Fig. 10
figure 10

XRD spectrum after seven-time recycling

Fig. 11
figure 11

DLS chart after seven-time recycling

Fig. 12
figure 12

SEM image after seven-time recycling

To demonstrate the nanocatalyst’s advanced capability, the current catalytic system was compared to a few different systems used for the synthesis of spirooxindoles in MCR reactions. As shown in Table 5, it is clear that the presented approach has positive advantages including environmental friendliness, simple operation, excellent yields, economical handling, and easy workup.

Table 5 Fe3O4@chitosan is compared to various catalysts described in the literature for the synthesis of spirooxindole derivatives

Conclusion

In a brief explanation, a novel and green heterogeneous magnetic nanocatalyst was synthesized by coating magnetic Fe3O4 NPs with chitosan, as a green and natural component, through an easy procedure and readily available and low-cost materials. The most significant aspect of this nanocatalyst was biodegradability due to its biodegradable polymer. The prepared nanocatalyst was characterized by XRD, SEM, TGA, FT-IR, VSM, and DLS analyses. By employing the catalytic amount of this nanocatalyst, a variety of spirooxindole and spirochromene derivatives were developed via three-component reactions of isatin derivatives/acenaphtoqunone, cyclic C-H acid compound, and malononitrile/ethyl 2-cyanoacetate under solvent-free condition at room temperature and in H2O/EtOH (4:1) under ultrasonic condition. Owing to the magnetic performance of the Fe3O4/chitosan nanocatalyst originated from the nano-Fe3O4, the achieved nanocatalyst could be simply separated from the reaction mixture, and it was recyclable seven times via a simple external magnet without appreciable loss in catalytic proficiency. Following the principle of green chemistry, Fe3O4/chitosan has considered factors like an easy workup procedure, excellent yields, reusable catalysts, and environmentally friendly reaction conditions that performed the synthesis of this important class of biologically active compound in a short reaction time.

Experimental section

General information

Merck, Aldrich, and Fluka were the suppliers of the chemicals used in this study. All the solvents were distilled, dried, and purified by standard process. NMR spectra were recorded on a Bruker Avance DPX 250 and 400 MHz spectrometer in DMSO-d6 using tetramethylsilane (TMS) as an internal reference. The synthetic compounds were investigated by Fourier-transform infrared spectroscopy (FT-IR) analysis using a Shimadzu FT-IR 8300 spectrophotometer, and tablets were formed by compressing the sample with KBr. Magnetic nanoparticles’ crystalline polymer and structural stability were investigated using a Bruker AXS D8-advanced X-ray diffractometer with Cu Ka radiation (λ = 1.5418). Thermal analysis of the samples was conducted using TG/DTA instrument in a Perkin-Elmer Pyris Diamond model thermal analyzer. In a nitrogen gas flow with a heating rate of 10 °C min−1, the measurements were recorded from room temperature to one thousand degrees Celsius. In platinum pans, samples ranging in weight from 1.5 to 3.5 mg were examined. The scanning electron microscope (SEM) was characterized using an FEI Quanta 200 SEM with a 20 kV acceleration voltage. Sonication was performed in hielscher, ultrasonic GmbH bath (Model-hielscher, operating frequency 30 kHz ± 10% and output power of 100 Watts). The magnetization of nanoparticles was estimated using a BHV-55 VSM, and DLS process was used to determine the size distribution profile by a HORIBA-LB 550 particle size analyzer. The mass spectra were captured using a Shimatzu GC–MS QP 1000 EX device.

Using thin-layer chromatography (TLC) on silica-gel polygram SILG/UV 254 plates, the purity of the substrate was determined and the reaction was controlled.

General procedure for the synthesis of Fe3O4

FeCl3.6H2O (1.3 g, 4.8 mmol) and FeCl2·4H2O (0.9 g, 4.5 mmol) were combined and added to the solution of α-cetyl trimethylammonium bromide (CTAB) in water (500 mL), as a surfactant. The mixture was heated for 30 min at 80 °C. Then, a solution of NaOH (10 weight percent) was added drop by drop to the reaction mixture with mechanical stirring to create a black solid product until the pH of the reaction medium changed to 12. After that, the reaction mixture was heated for 1 h between 60–70 °C, and the black iron-oxide solid was filtered and washed with 5 mL water (3 times) and then dried at 80 °C for 10 h [60, 61].

Typical procedure for the synthesis of Fe3O4@chitosan nanoparticles

A mixture of 2.0 g Fe3O4 nanocrystal and 0.25 g of chitosan was rapidly mixed for 30 min in 50 mL of acetic acid aqueous solution (1% v/v) to provide a solution of Fe3O4 in chitosan. Following that, the chitosan-coated Fe3O4 nanoparticles were produced by adding 50 mL of 1 M NaOH solution. Deionized water was used to wash the final nanoparticles until the wash’s pH reached 7 [56, 57].

Typical procedure for the synthesis of 2-amino-7,7-dimethyl-2′,5- dioxo-5,6,7,8-tetrahydrospiro[chromene-4,3′-indoline]-3-carbonitrile derivation using solvent-free condition at room temperature (Method A)

A mixture of malononitrile (1.0 mmol, 0.066 g), isatin (1.0 mmol, 0.147 g), dimedone (1.0 mmol, 0.141 g), and Fe3O4@chitosan (0.05 g) were added to a round-bottomed flask at room temperature under a solvent-free condition, utilizing the minimum amount of ethanol (0.5 ml) with vigorous stirring for less than 2 min. Once the reaction was complete, the process was monitored by the thin-layer chromatography (TLC) method with the solvent mixture of n-hexane: ethyl acetate (2:1) and diluted with ethanol (5.0 mL). The catalyst was separated by an external magnet, and the product was filtered and washed with ethanol (2 × 5 mL). Finally, the solid product was crystallized with ethanol and water (3:1) to afford the pure spirooxindole.

Typical procedure for synthesis of 2-amino-7,7-dimethyl-2′,5-dioxo-5,6,7,8-etrahydrospiro[chromene-4,3′-indoline]-3-carbonitrile derivation using ultrasonic condition (Method B)

A mixture of isatin (5.0 mmol, 0.735 g), or acenaphtoquinone (5.0 mmol, 0.91 g), malononitril (5.0 mmol, 0.33 g), dimedone (5.0 mmol, 0.705 g) and Fe3O4@chitosan (0.25 g) in 100 mL H2O/EtOH (4:1), was sonicated for 5 h at room temperature. The reaction progress was monitored by TLC (n-hexane:ethyl acetate; 2:1) until the starting substrates were completely consumed. The catalyst was removed by an external magnet from the reaction mixture and then washed with ethanol (2 × 5 mL). Finally, the solid product was crystallized from a mixture of ethanol and water (3:1) to afford the pure spirooxindole.