# External action integration setup is broken?

**URL:** <https://community.fibery.io/t/external-action-integration-setup-is-broken/3846>\
**Category:** API & Programming\
**Created:** [January 24, 2023, 8:21am UTC](https://community.fibery.io/t/external-action-integration-setup-is-broken/3846 "2023-01-24T08:21:58Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![tpaktop](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/tpaktop/32/6394_2.png) [@tpaktop](https://community.fibery.io/u/tpaktop)\
**Post date:** [January 24, 2023, 8:21am UTC](https://community.fibery.io/t/external-action-integration-setup-is-broken/3846/1 "2023-01-24T08:21:58Z")

</div>

Would be great to have some example of how to create external action integration.  
I have tried to create an [external action integration](https://demo-app-manager-4owp76g45q-ts.a.run.app/) and after adding it I get stuck on this screen:

 ![Screenshot 2023-01-24 at 4.20.02 pm](https://us1.discourse-cdn.com/flex020/uploads/fibery/original/2X/b/b831278ce1b0b4764462fabb210434d21e0aed7e.png)

There are no errors and I’m kinda clueless at this stage of what is wrong. Wondering if it’s an issue with integration or something wrong with integration?

---

<div class="post-metadata">

**Author:** ![tpaktop](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/tpaktop/32/6394_2.png) [@tpaktop](https://community.fibery.io/u/tpaktop)\
**Post date:** [January 24, 2023, 8:53am UTC](https://community.fibery.io/t/external-action-integration-setup-is-broken/3846/2 "2023-01-24T08:53:32Z")

</div>

After fiddling with response a bit I noticed that when I specify:

```auto
 authentication: [
          {
            id: "none",
            name: "Public Access",
            description: "There is no any authentication required",
          },
        ],

```

It breaks.

If I change `id` to `public` it allows me to go to next step where it get stuck because it seem to think I’m doing data synchronization.

---

<div class="post-metadata">

**Author:** ![Oleg](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/oleg/32/1887_2.png) [@Oleg](https://community.fibery.io/u/Oleg)\
**Post date:** [January 24, 2023, 9:05am UTC](https://community.fibery.io/t/external-action-integration-setup-is-broken/3846/3 "2023-01-24T09:05:35Z")

</div>

Hello, @tpaktop

As I understood you are trying to build app for automations to allow execute your external actions. We don’t have this functionality documented yet. Will add the documentation in nearest future.

Thanks,  
Aleh

---

<div class="post-metadata">

**Author:** ![tpaktop](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/tpaktop/32/6394_2.png) [@tpaktop](https://community.fibery.io/u/tpaktop)\
**Post date:** [January 27, 2023, 2:14am UTC](https://community.fibery.io/t/external-action-integration-setup-is-broken/3846/4 "2023-01-27T02:14:42Z")

</div>

Yes, correct. I’d like to add external action to use as no code action on a button.  
I followed this [documentation](https://api.fibery.io/external-actions.html#external-actions-api-overview)  
Is it incorrect ?

---

<div class="post-metadata">

**Author:** ![Evgeni\_Kisel](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/evgeni_kisel/32/13938_2.png) [@Evgeni\_Kisel](https://community.fibery.io/u/Evgeni_Kisel)\
**Post date:** [January 31, 2023, 12:42pm UTC](https://community.fibery.io/t/external-action-integration-setup-is-broken/3846/5 "2023-01-31T12:42:40Z")

</div>

Unfortunately, `none` auth does not work properly for synchronisations. It’s a bug, we will fix it. Thank you for reporting

---

<div class="post-metadata">

**Author:** ![tpaktop](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/tpaktop/32/6394_2.png) [@tpaktop](https://community.fibery.io/u/tpaktop)\
**Post date:** [February 8, 2023, 9:05pm UTC](https://community.fibery.io/t/external-action-integration-setup-is-broken/3846/6 "2023-02-08T21:05:40Z")

</div>

Right, is there a workaround for now I can use ?  
I have too many ideas for external actions ☀ I’d love to implement.

---

<div class="post-metadata">

**Author:** ![tpaktop](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/tpaktop/32/6394_2.png) [@tpaktop](https://community.fibery.io/u/tpaktop)\
**Post date:** [February 18, 2023, 9:03am UTC](https://community.fibery.io/t/external-action-integration-setup-is-broken/3846/7 "2023-02-18T09:03:15Z")

</div>

So i went around and created an integration with authentication. Instead of using auth: none it uses proper token auth.  
However, actions are still not being picked up:  
Here is the full config:

```auto
{
  "id": "toggl-app",
  "name": "Toggl",
  "version": "0.0.1",
  "description": "Integrate data from Toggl time tracker into Fibery",
  "authentication": [
    {
      "description": "Please provide toggl authentication",
      "name": "Token",
      "id": "key",
      "fields": [
        {
          "type": "password",
          "name": "Integration Token",
          "description": "Provide Toggl API Integration Token",
          "id": "key"
        },
        {
          "type": "link",
          "value": "https://www.toggl.so/help/create-integrations-with-the-toggl-api",
          "description": "We need to have your toggl Integration Token to synchronize the data.",
          "id": "key-link",
          "name": "Read how to create integration, grant access and create token here..."
        }
      ]
    }
  ],
  "responsibleFor": {
    "dataSynchronization": true,
    "automations": true
  },
  "actions": {
    "action": "test-action-from-toggl",
    "name": "Test Action from Toggl",
    "description": "Test action from toggl integration",
    "args": []
  },
  "sources": []
}

```

I presume I should see an action in creating new button or adding a rule interface as possible actor to perform. However, it doesn’t seem to appear there.  
Any clue ?

---

<div class="post-metadata">

**Author:** ![Oleg](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/oleg/32/1887_2.png) [@Oleg](https://community.fibery.io/u/Oleg)\
**Post date:** [February 18, 2023, 12:52pm UTC](https://community.fibery.io/t/external-action-integration-setup-is-broken/3846/8 "2023-02-18T12:52:45Z")

</div>

Hi, @tpaktop

`actions` should be defined as an array. So it should something like

```auto
...
"actions": [{
    "action": "test-action-from-toggl",
    "name": "Test Action from Toggl",
    "description": "Test action from toggl integration",
    "args": []
  }],
...

```

Also make sure you have changed the version of app since app configuration is cached.

---

<div class="post-metadata">

**Author:** ![tpaktop](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/tpaktop/32/6394_2.png) [@tpaktop](https://community.fibery.io/u/tpaktop)\
**Post date:** [February 18, 2023, 4:55pm UTC](https://community.fibery.io/t/external-action-integration-setup-is-broken/3846/9 "2023-02-18T16:55:38Z")

</div>

Thanks for the quick reply @Oleg  
I did try again with new version and actions changed to array.  
Here is live version of that branch.  
The [source code](https://github.com/reify-academy/fibery-toggl-integration/blob/actions/app.config.json) of the config.

I still don’t see action appear:

 ![CleanShot 2023-02-19 at 00.54.10](https://us1.discourse-cdn.com/flex020/uploads/fibery/original/2X/d/de25fdbf58b3e94b11fd835182f14bddbeaa4788.png)

---

<div class="post-metadata">

**Author:** ![Oleg](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/oleg/32/1887_2.png) [@Oleg](https://community.fibery.io/u/Oleg)\
**Post date:** [February 21, 2023, 11:52am UTC](https://community.fibery.io/t/external-action-integration-setup-is-broken/3846/10 "2023-02-21T11:52:35Z")

</div>

Hi, @tpaktop

I tested your config and it works good for me.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/fibery/original/2X/d/d4a25036c6573c56c1a95485681bf44430b1ee13.png)

Please try to change version and press update app url button.

![2023-02-21 13.51.13](https://us1.discourse-cdn.com/flex020/uploads/fibery/original/2X/f/f7df3b134784d90987522ff1b27d13e7a3adaa73.gif)

---

<div class="post-metadata">

**Author:** ![tpaktop](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/tpaktop/32/6394_2.png) [@tpaktop](https://community.fibery.io/u/tpaktop)\
**Post date:** [February 21, 2023, 2:07pm UTC](https://community.fibery.io/t/external-action-integration-setup-is-broken/3846/11 "2023-02-21T14:07:25Z")

</div>

It does indeed. Must have been caching. After I changed the url **AND** updated the app url it did work. 🤟  
Awesome
