# Adalo→Airtable連携｜Custom Actionを用いたデータの複製

**URL:** https://www.nocode-faq.com/t/topic/1480
**Category:** Adalo
**Tags:** バックエンドデータベース, api関連サービス連携
**Created:** [2021 年 4 月 25 日午前 8:28 UTC](https://www.nocode-faq.com/t/topic/1480 "2021-04-25T08:28:47Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![tsubasa](https://sea2.discourse-cdn.com/flex020/user_avatar/www.nocode-faq.com/tsubasa/32/8670_2.png) [@tsubasa](https://www.nocode-faq.com/u/tsubasa)
#### Post date: [2021 年 4 月 26 日午前 5:36 UTC](https://www.nocode-faq.com/t/topic/1480/2 "2021-04-26T05:36:41Z")

</div>

> この場合、AdaloのCustom Actionから実装可能でしょうか？

前提として、AdaloがAirtableと接続されるとき、External Collectionが追加されます。  
これは、Adaloのデータテーブルと同じ扱いを受けるAirtableのデータになります。

なので、

> AdaloのデータテーブルをAirtableにコピー→Airtable上で加工→AdaloのDBを更新する

この最後の意味が、AdaloのExternal Collection (Aitable と同期しているAdaloのデータ）という意味であれば、可能です。ただ（必要が無い気もしますが）、Adalo自体のデータを編集したいなら、別途API接続する必要があると思います。

 ![c727f83a4d5541e92942a99024db6fd9](https://us1.discourse-cdn.com/flex020/uploads/ncc_forum/original/2X/f/f54b7948700433f816896bae1c948795b27ef6dd.png)

> 何度か試してみたのですが、POST/PUT/PATCHメソッドで実行するとエラーが出てしまいまして…  
> ご回答いただけますと幸いです！!

現状URLが分からないので、推測ですが、  
422エラーは、Airtableの配列の間違いというエラーです。

> **[POST https://api.airtable.com 422 (Unprocessable Entity)](https://community.airtable.com/t5/development-apis/post-https-api-airtable-com-422-unprocessable-entity/td-p/125221)**
>
> Hi All, I am having an issue with creating new entries into my airtable. I am able to GET the data from my airtable with the axios code: getTable() { axios.defaults.headers = { Authorization: ‘Bearer key$$$$$#@@@@’ }...

Method Put を使いたいなら、その前のtypeは、 **Create** ではなく **Update** になります。

 ![cef2b00189eade12ddfe183cd942f0da](https://us1.discourse-cdn.com/flex020/uploads/ncc_forum/original/2X/f/fc979cce59db8eda8ee3dee32e0f1afcfa8bffce.png)

【参考】Adalo- Connecting to Airtable

> **[Connecting to Airtable](https://help.adalo.com/integrations/airtable/connecting-to-airtable)**
>
> Let's walk through getting your data from Airtable to Adalo.

---

_[View the full topic](https://www.nocode-faq.com/t/topic/1480)._
