connect as customer

This block is part of the floriday group and was last modified in core v15.0.0.

connect as customer v11.5.18 Updated v15.0.0

Creates an initial connection with the Floriday customer API using your API key.

In pins 6 + flow
  • flow
    flow
  • provider v15.0.0
    value

    Name of a Floriday service provider (Settings → Service Providers). Preferred: the API key and any own client credentials live there instead of in this blueprint, can be rotated in one place, and have a Test button. Wins over the pins below when set. Note the connection still carries the key and token onward, so unlike Stripe they remain readable in a simulation trace.

  • API Key
    value

    The API key from your floriday account using the Rual Connection. Not needed when a provider is named.

  • live key required v11.3.2
    condition

    Provide true if you're using the live API.

    Default false

  • scope
    array

    The scope used for the connection

    Default role:app, catalog:read, catalog:write, network:read, network:write, sales-order:read, sales-order:write, purchase-order:read, purchase-order:write, organization:read, supply:read, supply:write, delivery-conditions:read, fulfillment:write, fulfillment:read

  • client id v13.0.8
    value

    A custom client id, will overwrite the default one. This should only be used if an own Floriday application is being used. • Hidden when unused

  • client secret v13.0.8
    value

    A custom client secret, will overwrite the default one. This should only be used if an own Floriday application is being used. • Hidden when unused

Out pins 3 + flow
  • flow
    flow
  • connection
    floridayconnection
  • success v15.0.0
    condition

    False when the named provider does not exist, is disabled, holds no API key, or Floriday refused the credentials.

  • error v15.0.0
    value

A typical wiring for connect as customer: a function trigger starts the flow; value feeds the api_key pin; == feeds the production pin; the flow out pin feeds debug.

Studio canvas example for the connect as customer block: typical wiring for connect as customer.

Version history

Introduced in v11.5.18.

Last modified in v15.0.0.

v13.0.8 This block or one of its pins was updated in v13.0.8, click here to see the release notes. v11.3.2 This block or one of its pins was updated in v11.3.2, click here to see the release notes.
Back to floriday Return to the main group to view all sub-groups Back to floriday Return to the group to view all blocks within this group